Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Tab Control

Vote:
 

I'm in the process of creating a Tab Control but I'm just wondering how I could implement it in EPiServer. What Property types would I use and how would a user add Tabs to it dynamically.

#51037
May 23, 2011 7:15
Vote:
 

Seeing as you want to add tabs dynamically, I think the most elegant solution would be to make a custom property for the tab control - you could then store the definition of each tab in a string as xml or something clever.

The most comprehensive guide to creating custom properties is found here: http://joelabrahamsson.com/entry/how-to-create-a-custom-episerver-property

 

 

#51053
May 23, 2011 15:51
Vote:
 

Hi Jan

Check out the Multiple Property control I have created http://episerveresmp.codeplex.com/

This would allow you to easily create a property for your custom tabs.

You could also override the CreateDefaultViewControls method within the property implementation to render the relevant markup when bound to an EPiSever:Property.

Full usage documentation can be found here

Lee

#51055
May 23, 2011 16:33
Vote:
 
#51056
May 23, 2011 16:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.