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

[Solved] Tabs, dynamic text?

2 Answers 87 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ed
Top achievements
Rank 1
Ed asked on 27 Mar 2012, 01:56 PM
Before I traverse through experimentation, I'd though I'd ask the community this first.

Is there a way to have the Tab text be dynamic or populated from a partial?

I have a requirement where one tab is going to be say, a cart tab. Instead of just plain text "Cart" for the tab, the client wants to populated it with 2 lines of text:

1st Line:  # of Items in cart
2nd Line: Total $$ amount

Thanks in advance for any replies.

NOTE: I am referring to the tab item NOT the tab's content.

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 28 Mar 2012, 01:04 PM
Hi Ed,

As far as I understand, you want to change the tab text on the client. This is not supported out-of-the-box, so you have to manually modify the text by using standard DOM operations or jQuery.

Greetings,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Ed
Top achievements
Rank 1
answered on 28 Mar 2012, 01:07 PM
Dimo,

Thanks for the reply. I figured it may come down to that. Do you have a sample available for that?
Tags
TabStrip
Asked by
Ed
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Ed
Top achievements
Rank 1
Share this question
or