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  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


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
723 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
723 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.

 


OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com
IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke / DNN Hosting
Powerful DotNetNuke / DNN Hosting on Windows 2008 and 2003 servers, starting at under $8/mo with FREE SQL 2008 on certain plans and FREE SQL 2005 on all plans with FREE Installation and expert support.
www.re-invent.com

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