London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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
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
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.