Solved

DotNetNuke 6 Redirect from one module to another

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now