Why does this statement work with OnKeyPress event of Javascript in C#.
txtPassword.Attributes.Add("OnKeyUp", "CheckPasswordStrength(\""
+ txtPassword.ClientID.ToString() + "\",\""+ lblMessage.ClientID.ToString() +"\")");
this code is working correctly, my problem is that i want to run keypress event not keyup event
Use on onKeyDown for Windows/MSIE.