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  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  How querystring parameters work?
Previous Previous
 
Next Next
New Post 1/15/2007 10:14 AM
User is offline ley39
4 posts
10th Ranked


How querystring parameters work? 
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 10:31 AM
User is offline Sebastian Leupold
15228 posts
www.deutschnetnuke.de
1st Ranked












Re: How querystring parameters work? 
current version of iFrame has issues with querystring parameters, please be patient, until the corrected version has passed the release tracker.
Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 1/15/2007 11:25 AM
User is offline Stefan Cullmann
1572 posts
5th Ranked








Re: How querystring parameters work? 

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. 


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 1/16/2007 4:04 AM
User is offline ley39
4 posts
10th Ranked


Re: How querystring parameters work? 

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 5:13 AM
User is offline Stefan Cullmann
1572 posts
5th Ranked








Re: How querystring parameters work? 
Modified By Stefan Cullmann  on 1/16/2007 8:13:46 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

 


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
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  How querystring parameters work?
 


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.

 


XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net

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