Hello!
I'm trying to use the following code in the Page_Load event of an ASP.NET page (v1.1), and I get a javascript syntax error:
Page.RegisterStartupScript("Window", "<script language=javascript>function AlertUpdate() {window.open('UpdateBudgetConfirm.aspx?UBID=" + strSAID + "','','width=500,height=320,left=200,top=200');})</script>")
btnYes.Attributes("onclick") = "AlertUpdate()
I'm trying to use the following code in the Page_Load event of an ASP.NET page (v1.1), and I get a javascript syntax error:
Page.RegisterStartupScript("Window", "<script language=javascript>function AlertUpdate() {window.open('UpdateBudgetConfirm.aspx?UBID=" + strSAID + "','','width=500,height=320,left=200,top=200');})</script>")
btnYes.Attributes("onclick") = "AlertUpdate()