More in this section

Forums / Developing with Sitefinity / Using RadMenu in Master Page

Using RadMenu in Master Page

4 posts, 0 answered
  1. aster
    aster avatar
    12 posts
    Registered:
    08 Dec 2009
    24 Dec 2009
    Link to this post
    Hi,

    I am a creating a set of nested master pages. On the Site.master(root master page), I would like to add a radmenu, and I want this rad menu to pull the items from sitefinity. For instance, I have a left navigation bar, with the radmenu, I would like for this radmenu to pick up pages as I create them in Sitefinity.

    I will create a couple of other child masters, from the Site.master, that do not have other page elements that are present on the Site.master.

    Could anyone please point to any resources on how to do this?

    Thanks!
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    24 Dec 2009
    Link to this post
    Hi aster,

    The SiteMenu control which actually is RadMenu for ASP.NET AJAX is bound to CmsSiteMapData source, so all pages will be shown in your navigation.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. aster
    aster avatar
    12 posts
    Registered:
    08 Dec 2009
    24 Dec 2009
    Link to this post
    Hi Ivan,

    Since I am building nested master pages, I would like to add the SiteMenu.ascx to the Site.master. How do I go about customizing the menu.

    Currently I have registered a tag in the web.config and am using the sitemenu user control on my Site.master page, I would like the menu items to display vertical as opposed to horizontal, and I would like to change the color schema on them as well. Could you please point out where I can makes these changes, as  I would rather not modify the SiteMenu.ascx as someone else may want to use it in the future and I do not want to have "customized" that particular file.

    Thanks!
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    25 Dec 2009
    Link to this post
    Hi aster,

    The SiteMenu control is registered by default in the web.config file. I suggest that you should use Drag and Drop functionality to add the control on your page, otherwise you have to hardcode it in the master page you use.

    I would like the menu items to display vertical as opposed to horizontal, and I would like to change the color schema on them as well.

    The control has a property called Flow that you can edit - it is enum and has two values - Vertiacal ( which you have to use ) and Horizontal. To change the skin ot the control, please take a look at the following articles

    Controling appearance of RadControls for ASP.NET AJAX in Sitefinity
    Controlling Appearance

    You can take a look at the following documentation as well RadMenu for ASP.NET AJAX

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
4 posts, 0 answered