Welcome Guest Search | Active Topics | Sign In | Register

Tab strip Options
avneesh
Posted: Thursday, April 30, 2009 5:05:36 PM
Rank: Newbie
Groups: Member

Joined: 4/23/2009
Posts: 9
I have got custom controls in the tabitem using the customitem inside the tabitem but when I look into the server side, the controls are not created and I cannot use them. how can you use the controls with the tabsrip?

<eo:TabItem Text-Html="t1">
<SubGroup>
<Items>
<eo:TabItem>
<CustomItem>
<uc1:UC1 ID="C1" runat="server" /></CustomItem>
</eo:TabItem>

</Items>

eo_support
Posted: Friday, May 1, 2009 8:29:36 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Embedded CustomItem is only created after data binding. You can use this property to access embedded CustomItem:

http://doc.essentialobjects.com/library/1/eo.web.navigationitem.customiteminstance.aspx

If you are not using data binding, it's better for you to place a CustomItem directly in your form and then set the TabItem's CustomItemID property. That way you can reference the CustomItem directly.

Once you have a reference of the CustomItem, you can call FindControl on the CustomItem to locate controls inside the CustomItem.

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.