Remove / Disable Rad Menu SubItem (ChildMenu)

4 posts, 1 answers
  1. rama
    rama avatar
    5 posts
    Member since:
    Jun 2015

    Posted 18 Jul 2015 Link to this post

    Sir.

    Would anybody help me to Disable / Remove the SubMenu Item reference to VALUE. (AJAX RADMENU) using server script

    I would be very grateful 

  2. Answer
    Aneliya Petkova
    Admin
    Aneliya Petkova avatar
    207 posts

    Posted 20 Jul 2015 Link to this post

    Hi rama,

    You can find a RadMenuItem by value and disable it using the following server-side code:
    RadMenu1.FindItemByValue("1").Enabled = false;

    To remove a RadMenuItem use Remove() method:
    RadMenu1.FindItemByValue("3").Remove();

    Attached you may find a sample project.

    Please check our documentation for more information:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/menu/server-side-programming/methods-and-properties

    Regards,
    Aneliya Petkova
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. rama
    rama avatar
    5 posts
    Member since:
    Jun 2015

    Posted 22 Jul 2015 in reply to Aneliya Petkova Link to this post

    THANKS 

     works for me

     

    With Rama

  5. rama
    rama avatar
    5 posts
    Member since:
    Jun 2015

    Posted 22 Jul 2015 Link to this post

    works for me

    With  Regards

    Rama

Back to Top