Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
3230 Points
668 Posts
May 07, 2012 12:43 PM|LINK
if you want this only on once when page first time loads
then put in ispostback condition
if (!IsPostBack)
{
if (!this.ClientScript.IsStartupScriptRegistered("Open"))
Page.ClientScript.RegisterStartupScript(this.GetType(),"open","window.open(self.location,'','fullscreen=yes');",true);
}
tusharrs
Contributor
3230 Points
668 Posts
Re: Full Screen
May 07, 2012 12:43 PM|LINK
if you want this only on once when page first time loads
then put in ispostback condition
if (!IsPostBack)
{
if (!this.ClientScript.IsStartupScriptRegistered("Open"))
{
Page.ClientScript.RegisterStartupScript(this.GetType(),"open","window.open(self.location,'','fullscreen=yes');",true);
}
}
( Mark as Answer if it helps you out )
View my Blog