I would like to call a javascript function from an aspx control. For instance, suppose I had:
Call java script function on Code behind
cs code
protected void Page_Load(object sender, EventArgs e) { TextBox2.Attributes.Add("onkeypress", "return abc();"); }
try this