RadMenuItem find/identify items

2 posts, 0 answers
  1. JH
    JH avatar
    25 posts
    Member since:
    Jan 2010

    Posted 20 Apr 2010 Link to this post

    Hi,

    I have some problems with the RadMenu component:

    1. I want to be able to disable/remove certain RadMenuItems on the server-side, and have not found any way to identify the menu items since their IDs are not settable.
    (http://demos.telerik.com/aspnet-ajax/menu/examples/programming/addremovedisableitemsclientside/defaultcs.aspx did not help either)

    2. Is there any way of setting a button in a RadMenuItem as TargetControl for UpdatePanels och ModalPopupExtenders?
    My work-around has been to set the entire RadMenu as a Trigger for UpdatePanels and to trigger postbacks and manually show modal popups, but I'm not totally satisfied with this.

    Any suggestions?

    Thanks!
  2. Yana
    Admin
    Yana avatar
    4841 posts

    Posted 20 Apr 2010 Link to this post

    Hi JH,

    1. You can use Value property of the items to identify them.

    2. I suggest you use RadAjaxManager instead, because you can set the ajaxified and updated controls in the code behind.

    Sincerely yours,
    Yana
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
Back to Top