Solved

DotNetNuke 6 Redirect from one module to another

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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