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

Display Bootstrap Javascript tooltip for a specific PanelBar item

2 Answers 64 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Sylvain
Top achievements
Rank 1
Sylvain asked on 14 Jun 2015, 03:00 PM

Hello,

For a specific item in a PanelBar, I would like to display a tooltip using Bootstrap Javascript method.

Generally speaking, I am trying to understand how I can inject custom attribut to a specific panelBar item node from C# razor view.

Does the PanelBar helper provide a built-in mechanism ?

Regards.

 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 17 Jun 2015, 05:21 AM
Hello Sylvain,

Yes, PanelBar items expose .HtmlAttributes() and .LinkHtmlAttributes() fluent methods. The former are applied to the <li> element, and the latter are applied to the <a> element inside the <li>.

Regards,
Dimo
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Sylvain
Top achievements
Rank 1
answered on 17 Jun 2015, 09:54 AM
Thanks a lot for your answer.
Tags
PanelBar
Asked by
Sylvain
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Sylvain
Top achievements
Rank 1
Share this question
or