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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Page URL with querystringPage URL with querystring
Previous
 
Next
New Post
9/6/2007 10:34 AM
 

I have the website on localhost. I have a page called Report which has one module.

From the menu, I am calling this same page passing different querystring.

For example: http://localhost/myweb/default.aspx?ID=1  I am giving this URL in the "Link URL" property of every page but with different ID.

Based on the value of ID, the module shows different content on the same page.

Now the problem is that I am moving the website to another server. Now the URLs have to be changed for ex. http://server/default.aspx?ID=1

How can I achieve this? I tried replacing the localhost with server in the URL and redirecting to the new URL on page_load but bcos I have only one page it is going into an infinite loop.

Please help. Thanks in advance.

 

 
New Post
9/7/2007 10:48 AM
 

Why did you do the redirect? It should be sufficient to alter the link URL. And if you replace the server name with a tilda (~, e.g. "~/default.aspx?ID=1"), the link should work on all servers. ASP:NET replaces the "~" with the applications'  current root directory at runtime.

 
New Post
9/11/2007 3:17 PM
 

It worked. Thank you so much.

I have another question. When I click on the Printer icon on my custom Report module, it opens a blank page.

How can I get my module content to print? My module displays a report based on the ID passed in the page URL.

Thanks in advance.

 
New Post
9/12/2007 5:06 AM
 

I just answered this in another thread.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Page URL with querystringPage URL with querystring


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