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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesQuery parametersQuery parameters
Previous
 
Next
New Post
7/4/2010 11:11 AM
 
I have developed a module in which I have to pass various information from one post back to the other. For example I have a link like the one below:

<a href="?CityID">Athens</a>

This means that I can programmatically get the CityID using the following code:

Dim CityCode As String = Request("CityID")

Evrything works fine until I change the language of the site. For example I have clicked on the link having the English language and after that I click the Greek flag and the system changes the url so that the CitryID value is included in the URL. The url looks like the one below:

http://localhost:1103/dotnetnuke_community_05.04.02_install/Tools/Weather/tabid/61/CityID/57/language/el-GR/Default.aspx?CityID=32

I have underlined the part of the URL which contains the value for the CityID. After that point it does not matter if I click on another CityID because it suppose that the previous selected CityID is the new one because it is include in the url. Can someone give me a solution?
 
New Post
7/4/2010 12:11 PM
Accepted Answer 
I think the solution is to use the NavigateUrl (from Globals.vb) to generate your urls in place to add it manualy to the and of the url.
 
New Post
7/4/2010 12:31 PM
 
Thank you very much. Your suggestion made my module to work properly when I change language.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesQuery parametersQuery parameters


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