hi,
i'm using a dataSource for my kendoTapStrip, the dataTextField needs to be encoded for each tab.
is it possible to apply a global setting in the config to encode all tab text fields?
cheers,
dave
3 Answers, 1 is accepted
0
Petur Subev
Telerik team
answered on 23 Aug 2012, 07:15 AM
Hello David,
I am afraid there is no such options to enable encoding or decoding of the dataTextField ,dataContentField globally. However you can combine the usage of the map method of jQuery and the encode approach covered here. To encode each element before passing it to the dataSource.
All the best,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
well, the feature was available in an older version..
i've added the following change to kendo.web.js
Kendo UI Web v2012.2.823
(line: 28702)
tab = {
text: text(view[idx]),
encoded: false
};
that works.. i dont see why you would want to encode the headers? its restrictive
0
Petur Subev
Telerik team
answered on 03 Sep 2012, 11:59 AM
Hello David,
As I replied in my previous post I am not aware of an option to set the encoding for all the items in the TabStrip.
You can enable encoding of the item if you add the items with the insertAfter, insertBefore or the append methods.
Regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!