Can we get child menu item by id rather than text.

3 posts, 1 answers
  1. Dheeraj Khajuria
    Dheeraj Khajuria avatar
    7 posts
    Member since:
    Jul 2009

    Posted 25 Sep 2009 Link to this post

    Hi,

    We are adding child menu items at run time and the text is based on the User Language Preferences; so we can not use the FindItemByText method. Is there any client side method to get element by id so that we don't have to iterate through all the items for getting a particular item.

    Thanks
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 25 Sep 2009 Link to this post

    Hi Dheeraj,

    One suggestion would be adding value to the new item (which is chronological in manner ) when it is created, so that you can search the menuitem with the value using the findItemByValue() method. Checkout the following documentation for most important methods of RadMenu:
    RadMenu and RadContextMenu objects

    Thanks,
    Princy.
  3. Dheeraj Khajuria
    Dheeraj Khajuria avatar
    7 posts
    Member since:
    Jul 2009

    Posted 25 Sep 2009 Link to this post

    Thanks Princy,

    It worked !!!
Back to Top