Hi Guys,
Anyone here knows how to use Javascript in .aspx.cs.
I have here the code for my Button controls.
It can't go back to my previous page.Code:protected void Button1_Click(object sender, EventArgs e) { lblMessage.Text = ""; Button1.Attributes.Add("OnClick", "javascript:history.back()"); }![]()
Thanks in advance.




Reply With Quote