Dbound RadMenu ..Menu Hdr goes to HTTP 403 pg not found

2 posts, 0 answers
  1. Neal
    Neal avatar
    114 posts
    Member since:
    Apr 2008

    Posted 27 Nov 2009 Link to this post

    Hi all

    I have a dbound Menu (vers 2009.1).

    When i click on the menu headers, i get the ie HTTP 403 error  (permissions).

    The header items in the db table typically show the apps path only in the IE browsers bottom bar, where as the menu items (working fine) show the path to the Required page in the app
    See attached jpg screen shots with relevant items circled in red.

    i.e.  The data, to be bound to the menu would be  e.g.
    •  for the header items :

                    Screen = "~/",   Parent screen = null,  ...., title="Planning" , descrip="blah blah"   screenId=149

    • for the menu items would be  e.g.
    .
                   Screen =  "~/WebForms/Planning/DrmPlan.aspx"  ,   parent screen = 149,   title = "Plan"   descrip ="xxxxx" ,screen id=128


    How do I resolve this. i.e. if the user clicks on the menu headers, how do i ensure that the path of the menu header or it's attempt to navigate to the Apps root are denied.

    The App and the menu runs in a master page.

    TIA
    Neal
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2815 posts

    Posted 30 Nov 2009 Link to this post

    Hello Neal,

    If I understand correctly, you don't want the header items to navigate at all. You can handle the ItemDataBound event to set the NavigateUrl property of these items to "#":

    protected void RadMenu1_ItemDataBound(object sender, RadMenuEventArgs e)
    {
        if (e.Item.Level == 0)
            e.Item.NavigateUrl = "#";
    }

    I hope this helps.

    Greetings,
    Tsvetomir Tsonev
    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.
Back to Top