Welcome Guest Search | Active Topics | Sign In | Register

<eo:TabItem -- how to get content into a tabitem? Options
PaulG
Posted: Wednesday, May 4, 2011 12:05:31 AM
Rank: Newbie
Groups: Member

Joined: 5/3/2011
Posts: 6
Not seeing any good example of how to apply content to a subgroup items? I associate a pageview but the content shows after the tab and isn't association to the item at all.
A custom item is a nice idea and seems to replace the tab itself with the custom value so it's no use as content to the item.

Trying to use the template <CustomItem> as below causes a javascript error so nothing is loaded there?

All your Multipage examples are for a single top level. I can't imaging figuring out how to apply a multipage to a complex tab of subgroups?...

Can you please provide a clear and concise example of how a tab should have content applied to it with sub items?...

As a general suggestion --- you might want to ask yourself as a company that has been around for years, why you haven't built a better more representative set of example to support your customer base. I can't imagine the amount of business you've lost by not providing clear, simple and through examples. How many potential customers have walked away from your business because of getting fed up trying to forum their way to solution when a better example set would completely eliminate that? -- Thanks for helping....

...<SubGroup>
<Items>
<eo:TabItem Text-Html="Add Shop" ItemID="tiShopAdd" PageViewID="pvAddShop" >
</eo:TabItem>
<eo:TabItem Text-Html="View Shop">
<CustomItem>
<asp:Button ID="Button" Text="Button" runat="server" />
</CustomItem>
</eo:TabItem>
</Items>...
</eo:TabStrip>

<eo:PageView ID="pvAddShop" runat="server" Width="100%">
<asp:Button ID="btn" runat="server" Text="Button" />
</eo:PageView>
eo_support
Posted: Wednesday, May 4, 2011 9:56:01 AM
Rank: Administration
Groups: Administration

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

Your code is actually correct and it “should” work but unfortunately it doesn’t in the current build due to a bug. We will fix it as soon as possible. The alternative is to place a CustomItem directly in the page and then set your TabItem’s CustomItemID to the ID of your custom item (I believe we have mentioned this to you before). You can find a working example about how to use this feature here:

http://demo.essentialobjects.com/Demos/Menu/Features/Nesting%20Controls/Demo.aspx

As to the samples, we appreciate your feedback but we do have over 200 samples and we believe they are sufficient. The key is the samples are for you to understand how our product works. They are not for you to just copy and paste without knowing why. There are literally millions of developers out there each with a different scenario. It is not possible for us to have a sample for each of them. As a result, it is often necessary for you to understand the sample and then adapt it to fit your exact scenario. In this case, the way CustomItem works are exactly the same for Menu and TabStrip (because they both derives from BaseNavigator). So you can base your code on that sample.

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.