Padding Padding
Janet
Systems
 Register  Login 
Telephone  01628 566 178
Website Design, Hosting and Software Services
  Search 
Padding
corner Padding corner
Padding Padding
corner Padding corner
 Forum
 
  Forum  DotNetNuke Modu...  janet.RandomIma...  User Control in DotNetNuke Skin
Previous Previous
 
Next Next
New Post 5/12/2006 9:31 AM
  Apoc
9 posts
www.pacificnorthwestmusic.de


User Control in DotNetNuke Skin 

How can I set a category, when using janet.RandomImage within a DNN skin?

The Notes.html states:

The RandomImage module may be added as a user control to a DotNetNuke skin.

<%@ Register TagPrefix="janet" TagName="RandomImage" Src= "~/DesktopModules/janet.RandomImage/RandomImage.ascx" %>

Ensure that a link to the user control has been added at the top of your skin design. <%@ Register TagPrefix="janet" TagName="RandomImage" Src= "~/DesktopModules/janet.RandomImage/RandomImage.ascx" %>Now in the code where you want the link to appear on the skin add a tag definition.

<janet:RandomImage="RandomImage" runat="server" />

Is there something missing??

Thomas

 
New Post 5/12/2006 1:59 PM
  neil
109 posts
www.janetsystems.co.uk


Re: User Control in DotNetNuke Skin 
Morning Thomas,

Yes there is something missing, I have also noticed that the id is missing from the initial reference. I'll update the notes whilst doing the next release.

The category is assigned using the parameter Category, for example:

<janet:RandomImage id="RandomImage" Category="Berkshire" runat="server" />


Neil

 
Previous Previous
 
Next Next
  Forum  DotNetNuke Modu...  janet.RandomIma...  User Control in DotNetNuke Skin
  

DotNetNuke Website Hosting
Custom DotNetNuke skins
eCommerce
Padding
Copyright 2002-2008 Janet Systems Ltd.   Terms Of Use  Privacy Statement Wednesday, August 20, 2008