473,385 Members | 1,587 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,385 software developers and data experts.

TextBox TextChange Event

Hi All,
I want to know how the TextBox control knows that it's data has been
changed, since it is able to detect changes and fires TextChange event
if the data in the TextBox has been changed. I know that TextBox class
implements IPostBackDataHandler interface which defines a method
LoadPostData(string postDataKey,NameValueCollection postCollection)
the postCollection keeps the posted data for each web control. How
ASP.NET fills this postCollection objects, i thought that ASP.NET uses
view state to get posted values, but i set EnableViewState property of
the text box then also the text changed event is firing.
Please let me know how this happens.
Thanks
Sunil

Jun 25 '06 #1
0 1029

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

Similar topics

2
by: jbsound | last post by:
I have been banging my head against this one and I'm sure I'm missing something: Got a WinForms app in VB.NET with controls bound to a dataset. For the sake of this discussion, let's use just...
2
by: VMI | last post by:
I'm trying to some dynamic searching to my windows Form so I added code in my TextBox.TextChanged so that, after every text change, a search is done to a datatable. So if I want to type the string...
2
by: Anand Sagar | last post by:
My program requirement is to create 2 textboxes at run time. When the cursor leaves the first textbox, (i guess the TextChange event) I want something to occur (post data into database) Problem...
5
by: PD | last post by:
The TextChanged event is not being called when I hit the "Enter" key. Yet it does for the "Tab" key. I set a break point in the Page_Load event and the TextChanged event and none of these get...
4
by: dhnriverside | last post by:
Hi guys I'm trying to get ASP.NET to do something when someone starts typing in my textbox, but it doesn't want to fire the codebehind! I've got AutoPostBack set to to True on my textbox, and...
2
by: Fabio | last post by:
Hi all, How can I block the number of lines that the user entered in a texbox, I need that the user enter only 4 lines of text. how can I block this and not permit that the user copy other...
2
by: Paul | last post by:
Hello: I create a textbox control programatically something like this: Dim td As New TableCell() Dim txtbox As New TextBox() txtbox.ID = "my_textbox" td.Controls.Add(txtbox) Now I want to...
4
by: Dean Slindee | last post by:
Anyone got a quick and easy way to change the background color on a textbox after the user has change the text value. Already have lots of forms written, so an approach that does not depend on...
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: 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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.