This is a migrated thread and some comments may be shown as answers.

Append values to a menu item

3 Answers 63 Views
Menu
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 22 Sep 2010, 08:27 AM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 22 Sep 2010, 08:54 AM
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.
0
L
Top achievements
Rank 1
answered on 22 Sep 2010, 09:13 AM
hi

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

e.Item.Items.FindItemByText(

"Inbox")  & "10"

 

0
L
Top achievements
Rank 1
answered on 22 Sep 2010, 10:00 AM
hi

I have managed to get it working. thanks
Tags
Menu
Asked by
L
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
L
Top achievements
Rank 1
Share this question
or