Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFramein dnn 4.7, how to set target for redirecting page in dnn 4.7, how to set target for redirecting page
Previous
 
Next
New Post
1/11/2008 1:05 PM
 

Iam displaying an aspx page inside of an IFrame module?  I want to add a target to the links to ensure that it breaks out of the frame,so that i can redirect to other page of my local dnn.

To set target and to break out of frame, i got a suggesstion to use foll code:

Response.Redirect(NavigateUrl(TabId, "ControlName", "Mid=" & ModuleId)).

in above code where to get module id of iframe module.?

control name is it that of control which causes redirection

In an another case i display an aspx page in content pane(without using any display module) on clicking a link in ContentLink module in left pane and from that aspx page i want to redirect to another page.In this case am i supposed to give content link module id?

if so where to get module id of content link.

or is there any other method to break out of frame to show redirection of page prorperly?..........pls reply.

 

 
New Post
1/11/2008 4:40 PM
Accepted Answer 

If you want links on your aspx page inside the IFrame tag to load into the main page, you need to set target attribute of a link to be "_parent", i.e.:

<a href="http://www.mysite.com" target="_parent">My Link</a>

The code you were suggested will create a url to the page with tabid = TabId and mid=ModuleId but it's not going to break anything out or away.

If I misuderstood your question, please forgive me and try to restate it with some example.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
1/12/2008 2:34 AM
 

you were absolutely correct!............it worked after i set the target attribute as specified by u in my aspx page html codes......Thanks a lot

-S.Nathan.

 

 
New Post
1/12/2008 6:47 PM
 

Great!!!


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
9/18/2008 5:56 AM
 

Hello All

I facing a Problem in Redirect the page after 5 sec Automatically ...........

Please help me if you know anything about this.

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFramein dnn 4.7, how to set target for redirecting page in dnn 4.7, how to set target for redirecting page


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out