Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  Response.Redirect to new (parent) page...
Previous Previous
 
Next Next
New Post 9/22/2008 8:23 AM
User is offline Vitaly Kozadayev
753 posts
www.continure.com
7th Ranked






Re: Response.Redirect to new (parent) page...Y 

Sorry: use top.window instead of parent.document

 


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 9/28/2008 7:53 AM
User is offline Yuri Saveliev
8 posts
10th Ranked


Re: Response.Redirect to new (parent) page...YSometimes this work, sometimes  

Sometimes this work, sometimes no...

On some computers I receive error on code "if (top.window)":

Error: Access is denied.

:(
 

 
New Post 10/1/2008 9:41 PM
User is offline Vitaly Kozadayev
753 posts
www.continure.com
7th Ranked






Re: Response.Redirect to new (parent) page...YSometimes this work, sometimes  

 I need to see your code, at this point. Or have more information. Otherwise, I've exhosted my suggestion box :(


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 10/2/2008 2:35 AM
User is offline Yuri Saveliev
8 posts
10th Ranked


Re: Response.Redirect to new (parent) page...YSometimes this work, sometimes  

my c# code:

  protected void Page_Load(object sender, EventArgs e)
    {
        if (IsPostBack)
        {
            Page.Validate();
            if (Page.IsValid)
            {
                if (!Page.ClientScript.IsStartupScriptRegistered("redir"))
                    Page.ClientScript.RegisterStartupScript(this.GetType(), "redir",
                        @"<script type=""text/javascript""> if (top.window) { top.window.location.href = '/Registration/CompleteInstallation/tabid/60/Default.aspx'; } </script>");

            }
        }
    }
 

i haven't any javascript code in .aspx file...

thanks!

 
New Post 10/6/2008 1:34 AM
User is offline Yuri Saveliev
8 posts
10th Ranked


Re: Response.Redirect to new (parent) page...YSometimes this work, sometimes Ant 

Any thoughts?

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  Response.Redirect to new (parent) page...
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com
TMA Resources
TMA Resources is a software company providing eBusiness solutions for the Association market.
www.tmaresources.com
DotNetNuke Hosting Provider UK
UK leading DotNetNuke Hosting provider. Owned and operated by a Microsoft Gold Certified Partner.
www.DNN-Portals.co.uk

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP