Home
Products
Benefits
RadEditor
RadMenu
RadPanelbar
RadTreeView
RadTabStrip
RadGrid
RadRotator
Support
radEditor Html provider - installation
radEditor Html provider - Overview
radMenu skinobject
radPanelbar skinobject
radTabstrip skinobject
radTreeView skinobject
radUpload Module
Browser Support
Purchase
About us
About Telerik
Contact Information
DotNetNuke
About DNN
DNN concepts
RadGrid module
PageAdmin Module
RadRotator module
RadAjax module
Tuesday, May 13, 2008
| ,
Login
Support
>
radMenu skinobject
Home
Products
Benefits
RadEditor
RadMenu
RadPanelbar
RadTreeView
RadTabStrip
RadGrid
RadRotator
Support
radEditor Html provider - installation
radEditor Html provider - Overview
radMenu skinobject
radPanelbar skinobject
radTabstrip skinobject
radTreeView skinobject
radUpload Module
Browser Support
Purchase
About us
About Telerik
Contact Information
DotNetNuke
About DNN
DNN concepts
RadGrid module
PageAdmin Module
RadRotator module
RadAjax module
RadMenu integration manual
DotNetNuke Integration Manual
(Special thanks to Jay Mathis and Andreas Hxyer for their support)
This guide will explain how to integrate RadMenu 3.x in the DotNetNuke Portal version 3.1. It assumes that you have DotNetNuke installed.
Step 1 - Installation
If you do not have the RadMenu skinobject yet, download the archive from your
Client.Net
account.
1. Unpack the archive in a folder of your choice. You should have the following files -
Telerik.DNN.SkinObjects.Menu.zip, Telerik-RadMenu.zip
, a folder
src
, and this document.
2. If you have purchased a Developer license, then you need to open the
Telerik.SkinObjects.Menu.zip
archive and replace the
RadMenu.dll
file with the one from your developer installation(usually from C:\Program Files\telerik\).
3. Open you browser and point it to the DotNetNuke portal. Log in with a SuperUser account(host). Go to the menu Host>Module Definitions. From the bottom of the page click on
Upload New Module
. Point to the
Telerik.DNN.SkinObjects.Menu.zip
file, click
Add
and then click
Upload New File
.
4. Go to the skins page(Admin>Skins or Host>Skins) and click on the
Upload Skin
link located near the bottom of the page. Select the skin you will use with RadMenu or select the sample skin that comes with the RadMenu skinobject -
Telerik-RadMenu.zip
. Click
Add
and then
Upload New File
. After the skin installation is complete you can go back to the Skins page and preview/apply the new skin.
5. Congratulations! You have successfully integrated RadMenu in your DotNetNuke project.
Step 2 - Customization
Customizing RadMenu after its integration in DNN can become a bit more difficult than what you are used to, since there is no XML definition file for the structure of the menu. The items are generated dynamically in order to reflect all page changes in the DNN menu structure. This brings a problem for people who are used to tweaking the XML file for best results. However we tried to minimize this problem by exposing as many properties as possible in the skinobject. You can add those properties from the skin definition file(.ascx) or in the XML definition file for your skin. For example if you want to tell the menu where to look for its images you will need to set the its ImagesBaseDir property.
If your skin file comes with a ready to use control file(.ascx) the menu should look something like this:
First you should register the control:
<%@ Register TagPrefix="dnn" TagName="RADMENU" Src= "~/DesktopModules/RadMenu/RadMenu.ascx" %>
Then you should put it somewhere in your skin:
<dnn:RADMENU runat="server" id= "dnnMENU" />
You add properties in the same way as you would do on a normal RadMenu:
<dnn:RADMENU runat="server" id="dnnMENU" ImagesBaseDir="~/Portals/_default/Skins/myskin/Img/"/>
If you are building skins using an HTML editor and the DNN skin parser:
First place the RadMenu token([RADMENU]) somewhere in your skin, then you need to add the properties to the XML file that holds information about the tokens you are using. For example:
<
Object
>
<
Token
>
[RADMENU]
</
Token
>
<
Settings
>
<
Setting
>
<
Name
>
ImagesBaseDir
</
Name
>
<
Value
>
~/Portals/_default/Skins/myskin/Img/
</
Value
>
</
Setting
>
</
Settings
>
</
Object
>
Step 3 - Skinning Whitepaper
A RadMenu Skinning Whitepaper is also available in the this archive. Consult it for a list of all properties supported by the RadMenu skinobject.
Note: To use the .net2 version of this product in DNN 4.0(not applicable for 4.3) you will need to edit the Default.aspx file in the DotNetNuke main folder and remove the runat="server" attribute from the <head> tag.
Copyright 2007 Telerik
|
Terms Of Use
|
Privacy Statement