This is a migrated thread and some comments may be shown as answers.

HTML in tab text including data binding

1 Answer 51 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 25 Mar 2015, 12:30 AM
Hi,

Two questions:

1. Is there a way to put HTML in the text property of a tab of a tabstrip that is bound to a datasource? Here's an example: http://dojo.telerik.com/OSOLi

2. If yes to #1, can I have an element in the tab text use data binding? Something like:

{
    text: "<span id='baseball-count' data-bind='text: baseballCount'></span>Baseball",
    encoded: false,
...

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander Popov
Telerik team
answered on 26 Mar 2015, 01:52 PM
Hi Josh,

I am afraid that this behavior is currently not supported when using source binding. I would encourage you to submit this as a feature request on our feedback portal.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
TabStrip
Asked by
Josh
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or