Display Bootstrap Javascript tooltip for a specific PanelBar item

3 posts, 1 answers
  1. Sylvain
    Sylvain avatar
    4 posts
    Member since:
    May 2015

    Posted 14 Jun 2015 Link to this post

    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. Answer
    Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 17 Jun 2015 Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Sylvain
    Sylvain avatar
    4 posts
    Member since:
    May 2015

    Posted 17 Jun 2015 in reply to Dimo Link to this post

    Thanks a lot for your answer.
Back to Top