Try Now
More in this section

Forums / Designing with Sitefinity / How can i add RadMenu in My master page's "TopMenu" named ContentPlaceHolder Using Add Controls?

How can i add RadMenu in My master page's "TopMenu" named ContentPlaceHolder Using Add Controls?

4 posts, 0 answered
  1. Kam
    Kam avatar
    4 posts
    17 Jul 2007
    28 Jul 2007
    Link to this post


    I have Created on New Template and i want to add RadMenu in my New Template.

    My Template's Code is
    <sf1:CmsForm ID="form1" runat="server">

    <div class="cmsWrapper">

    <div id="wrapper">

    <div id="Header">

    <h1>My Organization</h1>

    <div id="TopNavigation"><asp:contentplaceholder id="TopMenu" runat="server">

    <!-- I Want To Add RadMenu in this Portion -->

    </asp:contentplaceholder> </div></div>

    <div id="contentbk"><asp:contentplaceholder id="Content" runat="server"></asp:contentplaceholder></div>

    <div id="SideBar"><asp:contentplaceholder id="SideBarContent" runat="server"></asp:contentplaceholder></div>


    </div> <!-- cmsWrapper -->


     I Don't Want to Add Manual code in My MasterPage Like This

    <div id="TopNavigation">

    <asp:contentplaceholder id="TopMenu" runat="server">

    <radM:RadMenu ID="RadMenu1" runat="server">


    <radM:RadMenuItem Text="Blablabla" NavigateUrl="BlaBlaBla.aspx"></radM:RadMenuItem>

    <radM:RadMenuItem Text="Test" NavigateUrl="test.aspx"></radM:RadMenuItem>






    But i want to add by Edit this Template Link and From the Add Controls>>Data>>RadMenu ...

    Shall i have to user sitemapDatasource or Xml Data source and then by RadMenu's Property is have to set DatasourceID? or another Method

    I don't know how to do that

    How can i do that?

    Please Reply Me


  2. Bob
    Bob avatar
    330 posts
    24 Sep 2012
    28 Jul 2007
    Link to this post
    Hi Kamlesh,

    Since version 3.0 SP1 we provide four navigational controls ready to use: Site Menu, Site Panelbar, Site Tabstrip and Site Treeview. By default they are located under Navigation section on your toolbox. You can use these controls directly on your Page Templates. Since these controls are user controls and all the code is there you can use them as reference on how to bind to SiteMapDatasource. The user controls are located in ~/Sitefinity/UserControls folder.

    I hope this helps. Don’t hesitate to ask if you have any further questions.

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Roopesh
    Roopesh avatar
    39 posts
    29 Oct 2010
    10 Aug 2011
    Link to this post

    I have a RadMenu 

    <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" />
    <telerik:RadMenu  EnableSelection="true" ID="RadMenu1" runat="server" DataSourceID="SitemapDataSource1">

    Here I want to display only the main menu items. Don't want to display any sub items. And also I want to hide a page group if its ' ' option is false .

    Could you please help me

    Thank you
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    10 Aug 2011
    Link to this post
    Hi Roopesh,

    We sent a reply to you here.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered