Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  EditURL takes to wrong skin. PLEASE HELP!!!
Previous Previous
 
Next Next
New Post 2/22/2006 3:41 AM
User is offline Deepa Menon
1 posts
10th Ranked


EditURL takes to wrong skin. PLEASE HELP!!! 

I have developed a DNN 3.2 module with several ascx files. When I move to another control it shows on a page using wrong skin. Please Help

In Module Definitions I have defined my module controls of type view and for each I have given a proper key value expect my module main ascx for which the value is empty.

Module Definition:

Control Key           Title                   Source                                                                                                          Type

                                MdlMain             DesktopModules/CompanyName.Members/MdlMain.ascx              View      

AddMember          AddMember        DesktopModules/ CompanyName.Members/AddMember.ascx    View

In the code, I navigate between ascxs using Response.Redirect(EditURL("", "", ControlKeyValue")).

Code:

Private Sub btnAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAdd.Click

          

Response.Redirect(EditURL("", "", "AddMember"))

End Sub

This code takes me to the following link:
http://localhost/DotNetNuke/Test/tabid/56/ctl/AddMember/mid/373/Default.aspx

Using EditURL I can navigate to another control (and it works fine) but the skin being used is the admin skin and not the page skin. I need to use the same skin for all my ascx files but using EditURL all my ascx files (which have ControlKey value) have the admin skin while only my first page uses the page/module skin .

I have tried another option (using the same module definition) which is “NavigateURL”, this keeps the same skin for me but it shows empty page instead of the requested control page.

Code:

Private Sub btnAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAdd.Click

Response.Redirect(NavigateURL(TabId, "AddMember"))


End Sub

This code takes me to the following link:
http://localhost/DotNetNuke/Test/tabid/56/ctl/AddMember/Default.aspx

For our DNN site we have 2 skins and 2 container styles. One for USER Pages and other one for ADMIN Pages. Is it possible to keep same skin (user skin) for all my module ascxs without changing to the admin skin? Also which function should I use to move between ascxs EditURL or NavigateURL as I mentioned before EditURL redirects me to the write page but with admin skin and the NavigateURL gives me an empty page with the same module skin.

Please advice.

 
New Post 2/24/2006 3:39 AM
User is offline Leandro Montedoro
23 posts
10th Ranked


Re: EditURL takes to wrong skin. PLEASE HELP!!! 

Check this
http://forums.asp.net/1154003/ShowPost.aspx

 
New Post 2/28/2006 11:04 AM
User is offline Stefan Kamphuis
319 posts
www.superska.net
8th Ranked






Re: EditURL takes to wrong skin. PLEASE HELP!!! 
If you consider that EditURL() is meant for links to Edit pages, it makes sence that you'll get the admin skin there. If you want the user (not the administrator or editor) to go to another control with the portal skin, don't use editUrl, but use NavigateURL instead.

Hope this helps.

Greetz,
Stefan Kamphuis
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  EditURL takes to wrong skin. PLEASE HELP!!!
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNCovered.com - Your Offshore Dotnetnuke Partner
Dnncovered.com is the only Dotnetnuke offshore outsourcing center specializes in DNN skinning and module development with lowest pricing and quality service. Our staff is dedicated to websites based on DNN and our graphic designers are creative and imaginative well enough to provide customers the complete set of skinning solutions and packages
www.dnncovered.com
PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP