89
rated 0 times
[
90]
[
1]
/ answers: 1 / hits: 47853
/ 12 Years ago, mon, january 7, 2013, 12:00:00
Suppose I have a textbox Mytbx and I have a javascript for its onchange event. I hook it up in code behind in Page_Load event like:
Mytbx.Attributes.Add(onchange, test();)
Then I changed the text in code-behind for this textbox like (in a button click event for example):
Mytbx.Text = MyValue
I expect onchange event fired. but actually, it's not. When I click on the button to change value for Mytbx, nothing happening.
How to resolve this problem?
More From » asp.net