More in this section

Forums / Developing with Sitefinity / pulling data into RadMenu

pulling data into RadMenu

4 posts, 0 answered
  1. Orion
    Orion avatar
    54 posts
    Registered:
    02 Feb 2009
    06 Feb 2009
    Link to this post
    I'm new to Sitefinity, and I'm trying to find the best way to create the menus for my client.  I'm understanding SiteMenu so far, and I have it working on a test page, but I'm not sure I can style those menus the way I want.  The site design is very custom, and I can't use any pre-made themes.

    So I'm trying to figure out the RadMenu control.  I've pulled the control over onto my work space, but I have no idea what to put in for datasources, or datasource ID's.  I don't know what to do to get it to see my groups and pages, so it can dynamically update.

    I've been looking at RadMenu documentation, but I'm just not getting it.  Can you offer any help or better documentation on using RadMenu, or any Rad controls inside of Sitefinity?

    Thank you.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    06 Feb 2009
    Link to this post
    Hi Orion,

    Thank you for using our services.

    In Sitefinity we use RadMenu, we have made some changes and you can find it under Sitefinity as SiteMenu. We use RadMenu API, and help that could be find here.
    As for the datasource, we use SiteMapDataSource control which binds the pages that have been created by a user.

    <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" /> 

    The idea is that if you want to use RadMenu control that could be found in RadControls section of the toolbox, you should have SiteMapaDataSource control in the same naming container.
    Steps: Drag and drop SiteMapDataSource control on the page ( where ID="SiteMapDataSource1") the drag and drop RadMenu control, enter in edit mode of the control and under Data set DataSourceID property to "SiteMapDataSource1" ( the same as the ID of SiteMapDataSource control)

    I hope this helps.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Orion
    Orion avatar
    54 posts
    Registered:
    02 Feb 2009
    06 Feb 2009
    Link to this post
    Well I'm definitely getting further than I was.  Thank you. 

    But let's go back to SiteMenu.  If that has all of the functionality and customization features of RadMenu, and I'm getting that to pull in my data, then I just need to customize the look.

    Correct me if I'm wrong, but in order to customize the look of these things, I have to do it in Visual Studio right?  I'm used to just doing everything in Dreamweaver and using Javascript, but I can certainly figure out Visual Studio if that's what I have to do.  I have programmers here that can help me out.

    Also, I have to put more than one navigation bar on this site.  There's a horizontal menu at the top with vertical drop downs.  Directly underneath that there is another horizontal menu with a different look, and it's submenus have to display horizontally.  And then there's a vertical menu on the left that has to do a tree structure kind of thing. 

    Can I have more than 1 SiteMenu control on the page, and just change the skin, or CssClass, or SkinID that each one is looking at?  Or can you only have one menu control on a page?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    06 Feb 2009
    Link to this post
    Hi Orion,

    You can have more than one RadMenu control on the page. The controls will have different IDs and can use different skins. The menu could be positioned horizontally and vertically setting the Flow property of the RadMenu.
    Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. We use it for developing.
    I think that you will find Telerik's demo section useful.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered