how to make onchange event happened in code-behind in ASP.NET?
<p>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:</p>

<pre><code>Mytbx.Attributes.Add("onchange", "test();")
</code></pre>

<p>Then I changed the text in code-behind for this textbox like (in a button click event for example):</p>

<pre><code>Mytbx.Text = MyValue
</code></pre>

<p>I expect onchange event fired. but actually, it's not. When I click on the button to change value for Mytbx, nothing happening.</p>

<p>How to resolve this problem?</p>
