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

Getting toolbar item aside from findItemByText

2 Answers 49 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Hansik
Top achievements
Rank 1
Hansik asked on 09 Mar 2010, 12:07 AM
Hi,

  I created a toolbar with items displaying image only (no texts). How can I get these items then? I know there is a function "findItemByText" but you need to have the text as a reference to the items, but as I said, I do not have it here. For some purposes, I just need to display these items as image only, so putting texts to them is not an option.

 I really appreciate your help!

Thanks,
Arthur
  

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 09 Mar 2010, 11:15 AM

Hello Arthur,

You can set Value for each RadToolBarItem and then use the FindItemByValue method to get access to corresponding item.

-Shinu.

0
Hansik
Top achievements
Rank 1
answered on 11 Mar 2010, 10:32 PM
Thanks, Shinu for your reply. It works now.  I really appreciate your help!


Tags
ToolBar
Asked by
Hansik
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Hansik
Top achievements
Rank 1
Share this question
or