Welcome Guest Search | Active Topics | Sign In | Register

Find ClientID of an toolbar item Options
HT
Posted: Friday, March 27, 2009 4:28:18 PM
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.
eo_support
Posted: Friday, March 27, 2009 4:32:14 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.