hi there,
i wnat to reload a page, when the user clicks on a button.
i tried to manage this with javascript, something like
window.open(url) or location.reload, but i can`t get it run.
in c# i`ve tried :
string popupScript = "<script language='javascript'>" +
"window.open('PopUp.aspx', 'CustomPopUp', " +
"'width=200, height=200, menubar=yes, resizable=no')" +
"</script>";
Page.RegisterStartupScript("PopupScript", popupScript);
but the javascript won`t run.
how can i run javascript in c#?
thanx
bernd
i wnat to reload a page, when the user clicks on a button.
i tried to manage this with javascript, something like
window.open(url) or location.reload, but i can`t get it run.
in c# i`ve tried :
string popupScript = "<script language='javascript'>" +
"window.open('PopUp.aspx', 'CustomPopUp', " +
"'width=200, height=200, menubar=yes, resizable=no')" +
"</script>";
Page.RegisterStartupScript("PopupScript", popupScript);
but the javascript won`t run.
how can i run javascript in c#?
thanx
bernd