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.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  querystring with 3 parameters
Previous Previous
 
Next Next
New Post 1/30/2008 3:37 AM
Resolved
User is offline sakis
60 posts
10th Ranked


querystring with 3 parameters 

Hi quys,

I have used the IFrame module before using one parameter(userID).

Can you use it with 3 parameters?

I want something like this:

 WebSiteGeneration.aspx?CODE=xUserID=yCompany=z

where code is a numner from 1-6 and company is the companyID

can this be done with the IFRAME module?

thanks

 
New Post 1/30/2008 3:46 AM
User is offline Vitaly Kozadayev
687 posts
www.continure.com
7th Ranked






Re: querystring with 3 parameters 
Modified By Vitaly Kozadayev  on 1/30/2008 8:36:21 AM)

you can have 33 parameters, if you'd like.

You can define CODE and Company parameters as static and assign those values, for example.

[EDIT]

For dynamic values, you can pass CODE and Company in a querystring or via form submission.

To pass it in querystring, your link to the page with IFrame module on it should include ?CODE=123&Company=456 at the end of url.

Then, in IFrame Options, create two querystring parameters, name them whatever you want, but make sure that textbox after dropdown (where you select Pass-through QueryString), has the correct QueryString parameter name - CODE for one and Company for the other. When you save it, the list of querystring parameters should look like:

CODE Pass-Through QueryString (CODE)
Company Pass-Through QueryString (Company)

NOTE: if you DON'T pass that querystring but you have IFrame waiting for it, the IFrame will pass those params WITHOUT value (?CODE=&Company=)


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 1/30/2008 6:49 AM
User is offline sakis
60 posts
10th Ranked


Re: querystring with 3 parameters 

Thanks Vitaly for your responce

I added this url :

http://localhost/EshopWebSiteGeneration.aspx?CODE=3PU=81NAME=egoIT

than I added three querystrings:

Name Value

CODE Pass-Through QueryString (CODE)

PU User ID

COMPANY Pass-Through QueryString (COMPANY)

is this correct?

thanks again

 
New Post 1/30/2008 7:12 AM
User is offline Vitaly Kozadayev
687 posts
www.continure.com
7th Ranked






Re: querystring with 3 parameters 

First of all, parameter/value pairs are connected to each other with an ampersand symbol. So, the proper format for your url would be http://localhost/EshopWebSiteGeneration.aspx?CODE=3&PU=81&NAME=egoIT

Second, the answer to your question woudl depend on your intentions:

Scenario 1: The COMPANY and CODE is always the same for every single user on your site

In this case, you need to define COMPANY and CODE as STATIC parameters and give them the values of egoIT and 3 repectively. The url needs to be set to just http://localhost/EshopWebSiteGeneration.aspx - all the querystring parameters will be automatically added by teh module.

Scenario 2: The COMPANY and CODE are passed to the page where IFrame module is installed as they are different for different cases.

In this case, you've defined your querystring parameters correctly. URL needs to be just http://localhost/EshopWebSiteGeneration.aspx BUT the url to the page where IFrame module is intalled must include the parameters CODE and COMPANY

I suspect that your case falls under the first scenario. Right?


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 1/30/2008 7:58 AM
User is offline sv
85 posts
10th Ranked


Re: querystring with 3 parameters 

thanks Vitaly for your reply.

What I really want is the second scenario...

Your help is much appreciated.

The URL was my problem

thanks again

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  querystring with 3 parameters
 


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.

 


Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com
Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com
DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com

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