Tootip on tabstrip

2 posts, 0 answers
  1. Frank
    Frank avatar
    6 posts
    Member since:
    Jun 2010

    Posted 18 Oct Link to this post

    Hello,

    I want to know if it´s posible to  make a Tooltip on a tabstrip on (MVC) .

     

    best Regards F.K.

  2. Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 19 Oct Link to this post

    Hi Frank,

    Yes it is possible to add tooltip to a tabstrip in MVC in a way similar to the one shown in this demo:
    http://demos.telerik.com/aspnet-mvc/tooltip/ajax

    For example, you can have a similar configuration:
    @(Html.Kendo().TabStrip()
          .Name("tabstrip")
          .Items(tabstrip =>
          {
     
          tabstrip.Add().Text("Tab 1")
              .Selected(true)
              .Content(@<text>
                <div>
                    Content 1
                </div>
            </text>);
     
        tabstrip.Add().Text("Tab 2")
            .Content(@<text>
                <div>
                    Content 2
                </div>
        </text>);
          })
    )
     
    @(Html.Kendo().Tooltip()
        .For("#tabstrip")
        .Filter("li")
        .Content("Content shown in tooltip")
        .Position(TooltipPosition.Bottom)
        .Width(200)
        .Height(50)
    )


    Regards,
    Vessy
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top