开发者

Skin issues with multiple controls in a Dot Net Nuke module

开发者 https://www.devze.com 2022-12-27 00:27 出处:网络
In the Dot Net Nuke module that I\'m developing I need to separate the controls into several different areas.Unfortunately, it appears that Dot Net Nuke thinks that any control identif开发者_JS百科ied

In the Dot Net Nuke module that I'm developing I need to separate the controls into several different areas. Unfortunately, it appears that Dot Net Nuke thinks that any control identif开发者_JS百科ied by a control key is an 'edit' screen and changes the skin automatically.

  • Is it possible to change this behaviour programmatically?
  • What is the best method of switching controls without having the skin changed?


This is a topic that folks have a lot of difficulty understanding and working around. For starters, see my blog post on module isolation.

The short story is that you'll get module isolation (which includes switching to the edit skin) whenever you use a control key in the URL to change controls. If you don't want that behavior, you'll have to work around it.

There are a number of established techniques, from simple do-it-yourself to more complex arrangements. In my blog post, I point you to Michael Washington's navigation tutorial, which includes using a PlaceHolder and loading controls dynamically into that, using a MultiView control, or using multiple module definitions (which is a whole other paradigm).

0

精彩评论

暂无评论...
验证码 换一张
取 消