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  |  

DotNetNuke Marketplace
  Ads  
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Two view controls in module?
Previous Previous
 
Next Next
New Post 10/22/2007 4:53 AM
User is offline onishiro
143 posts
9th Ranked


Two view controls in module? 

I'm trying to have two view controls on my module, but I can't seem to be able to call the second one from the first one, it just goes to an empty page.

In my .dnn file I set the 2 controls as follows:

            <control>
              <src>DesktopModules/NewsML/ViewNewsML.ascx</src>
              <type>View</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>ViewDetails</key>
              <title>View Details</title>
              <src>DesktopModules/NewsML/ViewNewsDetailML.ascx</src>
              <type>View</type>
              <helpurl></helpurl>
            </control>

And to call it from the first control I'm using:

<asp:HyperLink ID="HyperLink2" NavigateUrl='<%# NavigateURL(portalSettings.ActiveTab.TabID,"ViewDetails","itemID=" & DataBinder.Eval(Container.DataItem,"ItemID")) %>' runat="server">Details</asp:HyperLink>

What am I doing wrong?

 
New Post 10/22/2007 5:21 AM
User is offline onishiro
143 posts
9th Ranked


Re: Two view controls in module? 

I've managed to do it, but now when opening the ViewDetails control the site is showing the admin skin, instead of the skin set at the site, it's a view control so I don't know why it shows that skin.

What can I be doing wrong? why is it not showing the proper skin?

 
New Post 10/22/2007 7:45 AM
User is offline Hooligannes
1589 posts
www.nesinteractivos.com
5th Ranked






Re: Two view controls in module? 

That's by design for a control loaded by DNN(Edit or View) that is not the default control. If you want to keep the skin, you'll need to load the control dynamically from within your module.


Do you know the truth when you hear it?
The Dúnadan Raptor
Check My Blog for DNN advice and more
 
New Post 10/22/2007 11:47 AM
User is offline Michael Washington
2842 posts
ADefWebserver.com
5th Ranked










Re: Two view controls in module? 

 onishiro wrote

I've managed to do it, but now when opening the ViewDetails control the site is showing the admin skin, instead of the skin set at the site, it's a view control so I don't know why it shows that skin.

What can I be doing wrong? why is it not showing the proper skin?

see:

Module Navigation Options



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 10/23/2007 4:38 AM
User is offline onishiro
143 posts
9th Ranked


Re: Two view controls in module? 

Thanks.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Two view controls in module?
 


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.

 


Swanzey Internet Group LLC
DotNetNuke design, development, e-Commerce, hosting, maintenance, and training. Exclusively DotNetNuke.
www.swanzey.com
Lucede Systems Group
Providing a full range of IT services for large and medium sized companies
www.lucede.com
Adaptive InfoSystems, Inc.
We provide custom programming and various levels of support for DotNetNuke and the .Net framework.
www.aisysweb.com

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