Solved

DotNetNuke 6 Redirect from one module to another

Posted on 2011-09-22
2
954 Views
Last Modified: 2012-05-12
I am working in dotnetnuke 6 creating a few custom modules. I have created a Search module and a details module separately. I have seen some places on the web where you use Response.Redirect to go to another module but it does not seem to be working correctly for me. So my question is how do i get from my search to my details page and pass a parameter while doing so? Thanks
0
Comment
Question by:Poolcorp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
sonawanekiran earned 500 total points
ID: 36585202
Response.Redirect(EditUrl("purchaseID", "1001", "userReceipt"), True)

This will send me to my "userReceipt" control and pass the parameter "purchaseID" with the parameter value of 1001.  There is also an overload for EditURL so that you can pass additional parameters.

"purchaseID" - This is my parameter anme
"1001" This is my parameter value.
"userReceipt" - This is my control name as defined in module definitions.
0
 
LVL 3

Author Comment

by:Poolcorp
ID: 36586752
Isn't that only if the ASCX file is in the same module?  Like from a view to a edit control. My controls are in two separate modules completely. I was under the impression it uses the navigateUrl function and some parameters. From my research last night i found that you need to edit the module defenition and give it a key name, but in dnn 6 it appears some of this has been removed.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question