Thursday, March 29, 2012

server side replacing window?

Hi, I am wondering if we can program any server side code that will achieve this like "javascript:window.top.location.replace(page.aspx);" ... ??

eg:

void Button1_CLick(object sender, EventArgs e)
{

//replace the window like in javascirpt

}No, not from within the server code. You have to return the javascript and have that do the replace.

0 comments:

Post a Comment