protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
{
TextBox1.Attributes.Add("OnKeyUp", "javascript:myPostBack()");
}
}
and paste the following code to your html file under the head tag:
< script type="text/javascript" >
function myPostBack()
{
__doPostBack("","");
}
< /script >
After that in every keystroke, TextChanged event will be fired by textbox...
Yours sincerely
Hiç yorum yok:
Yorum Gönder