Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0NavigateURL To Control - Full View?NavigateURL To Control - Full View?
Previous
 
Next
New Post
2/22/2009 8:04 AM
 
Hey guys
I have a module with two controls (ascx pages)
I have a main listing - and the 2nd control is a detailed view placed on a 2nd page.
I navigate between the two like this.
Globals.NavigateURL("view", "mid=" + this.ModuleId.ToString(), "itemid=" + ItemId)
This works fine. HOWEVER. It takes me to a "full page" view. I usually have panels on each side of my pages. I have these panels set to "Show on all pages". When i Navigate to this 2nd control - it shows the website in a FULL PANEL WIDTH view - with only the module control visible. The side panels I usually have are gone.
Even the admin control at the top - only has "Content Pane" in the drop down for this page. No left or right panes.
 
Is there any way of navigating between the two so i can actually keep my current 'view' settings?
Thanks!
 
New Post
2/25/2009 12:36 AM
 

I have  been playing around with the navigate URL method, but this doesnt seem to change anything.

 

I thought perhaps it could be a module definition that would need an adjustment for that control.

 

I tried most of them (view, edit, admin, anonymous)... but they all do the same thing.

 

Can no one help?

 
New Post
2/25/2009 11:46 AM
 

When you go to a specific control using that method of the NavigateURL it includes the querystring ctl and mid (you don't need to include it in your navigateurl). When either of these are included in the URL dotnetnuke uses the admin skin. Which most often doesn't have anything but the content pane.

Are you trying to navigate to a different control in your module? or just load a specific item? An example of a different control would be a list of items displayed in a grid, and editing one takes you to the "edit" control.

 
New Post
2/25/2009 11:58 AM
 

See my blog post on this behavior for NavigateURL and EditUrl.  If you don't want this behavior, you'll need to find some other mechanism of loading control other than using DNN's module definitions.  I really would recommend going through Michael Washington's tutorial that I mention in that blog post, it goes over the other options pretty well.  When we run into this situation, we just register a "container" control with DNN, and then load the actual control into that, depending on our own QueryString parameters or whatever else makes sense for the situation.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
4/21/2011 5:05 AM
 
You can customize DotNetNuke library (Skin.vb) to load all view controls in all panes in current tab (except Content Pane).
If you want that code, please send email to me.

tanld@yahoo.com
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0NavigateURL To Control - Full View?NavigateURL To Control - Full View?


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out