473,770 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

post to server using controls or code other than a button

Make sure you set AutoPostBack=tr ue for the control in
question. That should fix the problem.
-----Original Message-----
If I have a button control that runat=server, then as soonas user clicks on the button, server side event handler
get invoked. I want to have a effect that's similar to
that, but with other controls. Say, I have a text field.
What I want is, as soon as my front-end script put a
string into the text field the form get posted to the
server and the server side Text changed event get fired.

Right now, I don't seem to be able to do that. The text
change on the front-end doesn't trigger a server post. I
have to wait untill next time some button get pressed thenthe server side detects the changed text and fires my textchange event handler. This doesn't work for me.

Can someone show me how to do this?

Thanks.
.

Nov 17 '05 #1
0 1059

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
11820
by: designsimply | last post by:
I am trying to http post some xml to to a remote server using php. When I try to submit xml using PEAR's HTTP_Client::post() to the remote server, I get back the following "Invalid Document Format" error: Array ( => 200 => Array ( => close
1
1027
by: eNathan | last post by:
I want to be able to disable\enable controls on the client via client-side scripting. I'm trying to avoid a postback. I'd like to use HTML and server-side controls on the same page. In code-behind of "submit button" how do I get the value of the HTML Controls? How do you provide a "rich" experience without roundtrips? Can you? What is the prefered way to architect these pages? Any pointers to whitepapers/docs would be apprecieated?
4
3516
by: John Boy | last post by:
Hi, Can anyone help. This is really doing my nut in. 3 years ASP exp. and now doing .DOT which is a step in the wrong direction. Basically I am left with the code of a guy who has left. When I click a button on a pop-up window the javascript for that button click does a 'button.form.submit'. On the Server side there is a Button click event for this button, but for some reason it no longer fires. It worked fine before and everything...
1
1294
by: Prasath | last post by:
We are able to upload files to a localhost. Pl. help on uploading files to a remote web server using VB code Thanks
0
1470
by: Polly Anna | last post by:
Hi, I have created an xsl document containing html client side controls and when I used my XSLCompileTransform class it successfully created an xhtml page. I then changed the client side controls to asp.net2 server side controls and changed the xsl document accordingly. However now my XSLCompileTransform class rejects the style sheet saying - "System.Xml.Xsl.XslLoadException was caught LineNumber=56 LinePosition=20 Message="XSLT...
2
27190
by: Arti | last post by:
Hi, I am trying to access a servlet hosted on Tomcat server using HTTPS Post protocol. I am getting the exception: "The underlying connection was closed: Could not establish trust relationship with remote server". Below is the code snippet. The same worked fine for HTTP POST. Then when I configured the Tomcat server ffor HTTPS, and modified the code by just changing the protocol from http to https. What more is to be
3
6358
by: JimO | last post by:
Is there a way to force a post without using submit button? Thanks, Jim
2
14101
by: boyleyc | last post by:
Hi all I am trying to retrieve the SQL username for the currently logged on user from my backend SQL Database so i can populate a form. I have the following 2 procedures. However obviously its always returning the username SQL as per the connection string. Is there a way of doing this for the CURRENTLY LOGGED IN USER?? if i remove credentials from the connection string the procedure fails. Also if i
0
2637
by: kwilliams1130 | last post by:
I am having a problem with data that is being posted to another server. The problem is I collect the data from our database through an .cfm file (and all data is correct), which then the data is saved to an .xml document and posted to another server though an .asp file. The problem is the other server is either not receiving the data (it says it exports without an problems on our end) or it is not receiving the data correctly. The only...
0
9592
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10004
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7416
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3972
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2817
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.