I want to open a new window on Button Click. At run time i will be able to know the url. I tried this using window.open but it is not able to find the Variable While the varibale is declared public in class.
I wrote window.open in .aspx and while the variable is in .vb file. But i this it should identify this becoz aspx is iherited from class that is declared in .vb.
Pls Help Its Urgent
Its Done
Response.Write("<script language=""javascript""> var win=window.open('" & sHomeURL & "');win.focus;</script>")
![]()
Have a look at:
Enhancing ASP.NET Pages with JavaScript
ASP.NET Popup ControlRegards
0 comments:
Post a Comment