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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  Pass QueryString from Links (module) to IFrame (module).
Previous Previous
 
Next Next
New Post 8/27/2008 2:53 AM
User is offline Eric KY Wong
5 posts
10th Ranked


Pass QueryString from Links (module) to IFrame (module). 

Hi all,

I am wondering if it is possible to pass a QueryString via a link in Links module of DNN to IFrame module of DNN?
For example:

On the Links module I have links as below

Link 1
Link Name: Page 1
URL: http://localhost/dotnetnuke480/Default.aspx?tabid=36&language=en-US&pageid=1

Link 2
Link Name: Page 2
URL: http://localhost/dotnetnuke480/Default.aspx?tabid=36&language=en-US&pageid=2

And on my IFrame the URL is http://staging/default.aspx

So when I click on Page 1 (Link 1), the IFrame will get the value of pageid (QueryString) which is 1 and load the page on the IFrame with URL of http://staging/default.aspx?pageid=1, and when I click on Page 2 (Link 2), the IFrame will get the value of pageid (QueryString) which is 2 now, and load the page on the IFrame with URL of http://staging/default.aspx?pageid=2

Please note that the IFrame is on Home page of DNN.

Is above mentioned possible in DNN?
If yes how should I do it and in which version of DNN it is supported?
If no, what can you guys recommend?

Thank you.

Cheers,
Eric

 

 
New Post 8/27/2008 5:34 AM
User is offline Stefan Cullmann
1572 posts
5th Ranked








Re: Pass QueryString from Links (module) to IFrame (module). 

Eric, this is absolutly possible, this is what the Iframe module is build for.

 

 


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com
Form and List will be the successor of the User Defined Table module.
----------------------------------------------------------------------
Do you want to import external data to Form and List /User Defined Table?
Check out http://www.codeplex.com/Csv2UDTImport
 
New Post 8/27/2008 7:07 AM
User is offline ech01
631 posts
7th Ranked




Re: Pass QueryString from Links (module) to IFrame (module). 

Just make sure that you select URL instead of page for the link type.  You can also use the text/html module as well.


www.blackhawksurfaces.com | www.nlsales.com | www.midwestfilmandvideo.com
 
New Post 8/27/2008 9:42 AM
User is offline Vitaly Kozadayev
753 posts
www.continure.com
7th Ranked






Re: Pass QueryString from Links (module) to IFrame (module). 

Just a tiny 2 cents remark - the previous message - mentioning link type and text/html - was related to the Link module. Meaning, that in Link module you should select URL and not Page for the target page (where IFrame module is), and that instead of Link module you can use Text/HTML module, or anything else , really, that lets you create hyperlinks or otherwise control browser navigation

(as in onclick="document.location.href='somepage_where_I_have_my_iframe_module.aspx?myparam=the_best_param_value'").

Just felt like talking this morning :)


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  Pass QueryString from Links (module) to IFrame (module).
 


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.

 


SSL Enabled and Amazingly FAST...
SSL enable your DNN web site with SSLRedirect, compress your DNN web site HTTP data flow by up to 75%-90% with HttpCompressionAgent, and monitor your DNN web site's performance with WebKeepAlive...
www.sanibellogic.com
Ultra Media Gallery & Video Gallery
The most popular photo gallery and video gallery module. with Flash interface.
www.bizmodules.net
WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com

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