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>
|
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.aspxIf 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!
|