Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...how do you link to a 2nd control in your module?how do you link to a 2nd control in your module?
Previous
 
Next
New Post
4/3/2014 4:25 PM
 
i have a primary control in my module and want to link to a second ascx control from the first one and back again. I know I can make a full .aspx page and link directly to it in the /desktopModules/...
but is there a proper way to do it without making a full path to the desktopModules?
 
New Post
4/4/2014 3:40 AM
 
within your module, you may navigate between the controls - not sure, what you are trying to achive, can you be please more explicit about your use case, thank you.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/4/2014 8:21 AM
 
exactly, how do you navigate to a 2ndary control and back?

I want a link on my primary control to the 2nd one and on the 2nd one a link back. since my control can be anywhere in the site I cannot easily do this.

1st module - listing
2nd module - details of each item
 
New Post
4/4/2014 8:38 AM
 
EditUrl will return the URL that invokes the secondary control.

The primary control is the one with no key.

Then use Response.Redirect to go there.

It's a bit old, but check out this article http://www.adefwebserver.com/DotNetNu...


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
4/7/2014 8:36 AM
 
I have tried several variations of these 2 redirects
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL("ViewFull", "mid=" + ModuleId.ToString()), true);

Response.Redirect(this.EditUrl(this.TabId, "ViewFull", false, "mid=" + ModuleId.ToString()));

the module control is registered in the extensions under type=view

I check a settings and if I want to stay on first module it works fine. if I redirect to the 2nd module then the page shows with no module in the middle where it should be.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...how do you link to a 2nd control in your module?how do you link to a 2nd control in your module?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out