Solved

DotNetNuke 6 Redirect from one module to another

Posted on 2011-09-22
2
948 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

Industry Leaders: 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

Suggested Solutions

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 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