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 ForumsIFrameIFrameHow querystring parameters work?How querystring parameters work?
Previous
 
Next
New Post
1/15/2007 1:14 PM
 
Sorry for such stupid question, but I still can't catch: how to work with queryparameters.
No documents provided to answer on my simple question
I use DNN 3.3.5. Downloaded IFrame 3.2.
Is it possible to pass parameters from parent window to the IFrame or not?
If so, would you please explain how to pass them?
As an example: I'd like to pass in parent querystring the followind .../default.aspx?userid=12345
How to pass the userid value to IFrame page? So, I could catch the userid in IFrame page?

Once more sorry if I haven't found answer to such simple question.
 
New Post
1/15/2007 1:31 PM
 
current version of iFrame has issues with querystring parameters, please be patient, until the corrected version has passed the release tracker.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/15/2007 2:25 PM
 

Sebastian, is right, but let us assume that you compild IFrames on your own or you downloaded a fix from some where else.

  1. Switch link type to url and set the source to your page, e.g. http://example.com/default.aspx
  2. Click on the [+] before query string parameters, click on Add query string parameter
  3. Set Name to userid  and Value to User ID
  4. Save the parameter
  5. save the Iframe setting
  6. done

If you have the original, unpatched IFrame release an error will rise. Otherwise it will work now. 

 
New Post
1/16/2007 7:04 AM
 

Thank you, leupold and Stefan Cullmann for fast reply!

I downloaded pre-compiled IFrame 3.2 without source.

From the very beginning (before a installed IFrame 3.2) any use of querystring rose me an exception. With IFrame 3.2 I don’t have such exception. But still can’t get parameters from querystring of parent (main) window.

When I add querystring parameter, what kind of value should it be (Static value, Path-Through or any other)?

May be It’s not correct way of using IFrame?!

What for “URL Parameter” parameter could be used in IFrame settings.

As it was mentioned before, It would be great if somebody would write any documentation with examples how to use IFrame. DNN society would appreciate such documentation!

Maybe I’m not correct with explanation in what way I try to use IFrame.

 

Let me explain one more time:

I have a DNN page with IFrame module. When somebody enter in browser address string, for instance, http://localhost/mysite/SearchResultseng/tabid/37/Default.aspx?userid=12345  (the page is with my IFrame), I’d like the .aspx page inside IFrame would catch the userid value.

May I do it with current version of IFrame? Or maybe there is any other way to pass the parameter from main address querystring to IFrame?

 

Thank you in advance for any help!

 
New Post
1/16/2007 8:13 AM
 

Ok, I thought you want to pass the UserId of your current DNN user as parameterfor the IFrame url.

But you want to pass through query string parameters, so you will add the foolowing query string parameter

Name: userid --> This is the name of your new internal parameter
Value: Pass through --> To pass through query strings
Additional arg:  userid  -> Name of the outer querystring

Other example:

Your page will be called with query string "OuterParam", eg. http://example.com/?OuterParam=4711,but you need  the value of t he Outerparam inside the IFrame as InnerParam, for example: http://innerside.com/?InnerParam=4711

So you add a Query Parameter like this:

Name: InnerParam
Value: PassThrough
Additional Arg: OuterParam

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameHow querystring parameters work?How querystring parameters work?


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