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 ForumsIFrameIFrameadvantage with Query sting...!!advantage with Query sting...!!
Previous
 
Next
New Post
5/5/2008 9:28 AM
 

Can any body help me about advantage of Query sting in IFrame with an Example

 
New Post
5/5/2008 10:51 AM
 

I can't tell much from your question, but I'll present two main ideas and you can feel free to narrow your inquiry from here. There are two sides to passing parameters with IFrame module - 1. to Iframe module or 2. to IFrame TAG. The main difference is that while the first one passes parameters to the module to be used in CONSTRUCTION of the IFRAME tag, while the second one  is passing parameters TO the Iframed's PAGE to be used by that page's code or script.

Scenario 1:

Imagine you have many documents  - for example, manuals for some products you are selling. And you want to display the manual following user's clicking a link to that document. You might not want to link directly to that document because you don't want to rely on browser plug in to display it, and you don't want browser to take over the navigation (once inside the plug in, there are no menus for your website, for example). In this case you may want to set up an IFrame module on some page, and have it read a querystring parameter that contains the name of the document. This way you would be able to display many different documents using the same page, instead of having many many pages that do the same thing.

Example:  http://www.yadavraham.org/default.aspx?tabid=29 - the two right columns link to a page that is set up that way. now, I didn't use core IFrame on that site - it was long ago and core module didn't support this. but it still illustrates the point.

 

Scenario 2:

You want to display some page inside the iframe that has a certain functionality that depends on - may be you want to tell that page a bit about the user (by passing username, for example, or his/her timezone...) or, may be you want to pass some other information - in either case, these parameters can only be passed as part of a SRC attribute of the IFRAME tag and will be in the plain view of anyone who is willing to click on View Source in a browser's menu. So, you have to be careful about what kind of info you are passing.

 


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameadvantage with Query sting...!!advantage with Query sting...!!


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