Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OnTextChanged method does not fire
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
OnTextChanged method does not fire
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01369966
Message ID:
01369966
Views:
70
Hi,

I have added code in the PAGE_LOAD method of the page to have a textbox post back and to fire method on change. The code is as following:
MyTextBox.Attributes.Add("OnTextChanged", "MyTextBox_TextChanged()");
MyTextBox.AutoPostBack = true;
The page does post back when the entry in the text box MyTextBox changes but the method MyTextBox_TextChanged never fires. Can you see what maybe missing in my code?

Thank you in advance for any help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform