New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Items Binding

The TabStrip enables you to manually define the properties of each item.

  1. Make sure you followed all the steps from the introductory article on Telerik UI for ASP.NET MVC.
  2. Create a new action method which renders the view.

    public ActionResult Index()
    {
        return View();
    }
    
  3. Add a TabStrip.

    @(Html.Kendo().TabStrip()
        .Name("tabstrip") // The name of the TabStrip is mandatory. It specifies the "id" attribute of the TabStrip.
        .Items(items =>
        {
             items.Add().Text("Item 1"); // Add item with text "Item1".
            items.Add().Text("Item 2"); // Add item with text "Item2".
        })
    )

See Also

In this article