I am working on enhancing an old asp.net C# compile web module started from the Cristoc templates. The goal of this page is to embed in an iframe for use on other sites and I could create a whole new portal and put this page into it and select the admin page theme to be a minimalist theme with a single container but I'd rather figure out why DNN (8.0.3) is loading the admin skin instead of the default skin.
It has numerous controls defined such as: Default View . source desktopmodules/module/view.ascx Type: View Category source desktopmodules/module/category.ascx Type Edit Send source source desktopmodules/module/send.ascx Type View
Send.ascx is navigated to by the onclick event of a link button: this.Response.Redirect(Globals.NavigateURL(this.PortalSettings.ActiveTab.TabID, "Send", "mid=" + this.ModId.ToString() + & "detailId=" + commandArgment)
When Send.ascx loads, the expected and desired behavior is that the site's default page theme is loaded by DNN. However, I can't figure out why the configured Admin theme is loaded for this page.
I went through the module definitions and even changed the send control to be the view type from its previous value and this had no effect on the fact that DNN loads the Admin vs the desired page theme file.Also note on the site the module is actually running there is a specific page theme of the minimalist version and when user advances to the last step they get the whole tamale of DNN instead of the minimalist them.
Thanks in advance!!
I have gone into the module definitions and ensured that the "Send" control specified is "View" type. I am perplexed still why when the page is accessed accordingly in the globals.navigateurl specified previously it should by all rights be loading the default theme and not the edit theme.
Additional thoughts other than refactoring the detailview control I have to programmatically load this send control would be much appreciated. Perhaps I am missing something from configuration somewhere?
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.