Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DotNetNuke 6 Redirect from one module to another

Posted on 2011-09-22
2
Medium Priority
?
967 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
2 Comments
 
LVL 17

Accepted Solution

by:
sonawanekiran earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

916 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