Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
12 Points
117 Posts
May 07, 2012 12:52 PM|LINK
I added the if (!IsPostBack) and it still loads multiple times.
if (!IsPostBack)
{
if (!this.ClientScript.IsStartupScriptRegistered("Open"))
Page.ClientScript.RegisterStartupScript(this.GetType(), "open", "window.open(self.location,'','fullscreen=yes');", true);
}
gordon1221
Member
12 Points
117 Posts
Re: Full Screen
May 07, 2012 12:52 PM|LINK
I added the if (!IsPostBack) and it still loads multiple times.
if (!IsPostBack)
{
if (!this.ClientScript.IsStartupScriptRegistered("Open"))
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "open", "window.open(self.location,'','fullscreen=yes');", true);
}
}