Rank: Advanced Member Groups: Member
Joined: 3/18/2008 Posts: 41
|
Hi.
Is there a way to find the ClientID of a toolbar item?
I am using the toolbar inside an Editor, and the toolbar's ClientID is:
ToolBar toolbar = ((EO.Web.ToolBar)txtContent.HeaderContainer.FindControl("toolbarContent")).ClientID
The toolbar has 12 items (toolbar.Items.Count = 12)
But how can I find the ClientID of each toolbar item? When looping through each toolbar item, I see that they have no ClientID attribute.
Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You will not be able to do that. ToolBarItem does not have a ClientID because it is not a control, only control has ClientID.
Thanks!
|