BottomNavigation HtmlHelper Overview

The Telerik BottomNavigation HtmlHelper for ASP.NET Core is a server-side wrapper for the Kendo UI BottomNavigation widget.

The BottomNavigation allows movement between primary destinations in an application. The main purpose of the component is to offer a navigation element whose options are represented by an icon and text.

Visit the Demo page for the BottomNavigation to see it in action.

Telerik UI for ASP.NET Core Ninja image

The BottomNavigation is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Initializing the BottomNavigation

The following example demonstrates how to define the BottomNavigation by using the BottomNavigation HtmlHelper.

    @(Html.Kendo().BottomNavigation()
        .Name("bottomnavigation")
    )

Basic Configuration

The following example demonstrates the basic configuration for the BottomNavigation HtmlHelper.

    @(Html.Kendo().BottomNavigation()
            .Name("bottomNavigation")
            .PositionMode(BottomNavigationPositionMode.Absolute)
            .HtmlAttributes( new { style="bottom:0;"})
            .Items(i=> {
                i.Add().Text("Inbox").Data(new { view = "inbox" }).Icon("email").Selected(true);
                i.Add().Text("Calendar").Data(new { view = "calendar" }).Icon("calendar-date");
                i.Add().Text("Profile").Data(new { view = "profile" }).Icon("user");
            })
    )

    <script>
    $(function() {
        // The Name() of the BottomNavigation is used to get its client-side instance.
        var bottomNavigation = $("#bottomNavigation").data("kendoBottomNavigation");
    });
    </script>

Functionality and Features

  • Items - the configuration allows you to set various attributes like icons and text.
  • Appearance - the configuration allows you to modify the appearance of the component.
  • Templates - the configuration allows you to customize how the items will be rendered.
  • Accessibility - the BottomNavigation supports various accessibility standards.

See Also

In this article
Not finding the help you need? Improve this article