473,387 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

post to server using controls or code other than a button

Make sure you set AutoPostBack=true 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 1040

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

Similar topics

5
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"...
1
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...
4
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...
1
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
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...
2
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...
3
by: JimO | last post by:
Is there a way to force a post without using submit button? Thanks, Jim
2
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...
0
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.