How would you go about adding custom icons/sprites to this example?
I have only seen examples (on web control) using DataSource and 'dataSpriteCssClass' property...And in this fashion I am unsure of how to go about getting my complex content into the DataSoruce element's 'content' property...
If possible, I'd be interested in seeing how to implement custom icons with complex (more than just a text value, some HTML) content when initializing the TabStrip from a DataSource and also, when initializing from HTML (divs)...
Thanks in advance!
answered on 24 Dec 2012, 11:52 AM
You just need to include the sprite/image html in the tab:
<li><span class="k-sprite sprite-classname"></span>This is a tab with a sprite</li>
<li><img src="image_url">This is a tab with an image</li>