Append values to a menu item

4 posts, 1 answers
  1. L
    L avatar
    298 posts
    Member since:
    Apr 2008

    Posted 22 Sep 2010 Link to this post

    hi

    I have a menu item called Inbox.

    I want to append some values like numbers of documents beside the Inbox.
    I have already a stored proc that does the count for me but need to show it beside the Inbox

    For example Inbox (10)

    How should i go about it? thanks
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 22 Sep 2010 Link to this post

    Hello,


    You can reset the Text of the RadMenuItem in ItemDataBound event. Get the number by invoking the stored procedure and set the Text for the menuitem.


    -Shinu.
  3. L
    L avatar
    298 posts
    Member since:
    Apr 2008

    Posted 22 Sep 2010 Link to this post

    hi

    I am not able to append it with this line. Which properties should i use? Thanks

    e.Item.Items.FindItemByText(

    "Inbox")  & "10"

     

  4. L
    L avatar
    298 posts
    Member since:
    Apr 2008

    Posted 22 Sep 2010 Link to this post

    hi

    I have managed to get it working. thanks
Back to Top