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

NavigatableExtensions

Methods

Action(Kendo.Mvc.INavigatable,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the action, controller name and route values of INavigatable object.

Parameters

navigatable - INavigatable

The INavigatable object.

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

The route values of the Action method.

Action(Kendo.Mvc.INavigatable,System.String,System.String,System.Object)

Sets the action and controller name, along with Route values of INavigatable object.

Parameters

navigatable - INavigatable

The INavigatable object.

actionName - System.String

Action name.

controllerName - System.String

Controller name.

routeValues - System.Object

Route values as an object

Action(Kendo.Mvc.INavigatable,System.String,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the action, controller name and route values of INavigatable object.

Parameters

navigatable - INavigatable

The INavigatable object.

actionName - System.String

Action name.

controllerName - System.String

Controller name.

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

Route values as

Action(Kendo.Mvc.INavigatable,System.Linq.Expressions.Expression)

Sets the action and route values of INavigatable object.

Parameters

item - INavigatable

The INavigatable object.

controllerAction - System.Linq.Expressions.Expression<Action>

The controller action.

Url(Kendo.Mvc.INavigatable,System.String)

Sets the url property of INavigatable object.

Parameters

navigatable - INavigatable

The INavigatable object.

value - System.String

Route(Kendo.Mvc.INavigatable,System.String,System.Object)

Sets the route name and route values of INavigatable object.

Parameters

navigatable - INavigatable

The INavigatable object.

routeName - System.String

Route name.

routeValues - System.Object

Route values as an object.

Route(Kendo.Mvc.INavigatable,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Sets the route name and route values of INavigatable object.

Parameters

navigatable - INavigatable

The INavigatable object.

routeName - System.String

Route name.

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

Route values as .

GenerateUrl(Kendo.Mvc.INavigatable,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,Kendo.Mvc.IUrlGenerator)

Generating url depending on the ViewContext and the IUrlGenerator generator.

Parameters

navigatable - INavigatable

The INavigatable object.

viewContext - Microsoft.AspNetCore.Mvc.Rendering.ViewContext

The object

urlGenerator - IUrlGenerator

The IUrlGenerator generator.

IsCurrent(Kendo.Mvc.INavigatable,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,Kendo.Mvc.IUrlGenerator)

Determines whether the specified navigatable matches the current request URL.

Parameters

navigatable - INavigatable

The INavigatable object.

viewContext - Microsoft.AspNetCore.Mvc.Rendering.ViewContext

The object.

urlGenerator - IUrlGenerator

The IUrlGenerator generator.

GetUrlHelper(Microsoft.AspNetCore.Mvc.ActionContext)

Parameters

context - Microsoft.AspNetCore.Mvc.ActionContext

GenerateUrl(Kendo.Mvc.INavigatable,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,Kendo.Mvc.IUrlGenerator,Microsoft.AspNetCore.Routing.RouteValueDictionary)

Generating url depending on the ViewContext and the IUrlGenerator generator.

Parameters

navigatable - INavigatable

The INavigatable object.

viewContext - Microsoft.AspNetCore.Mvc.Rendering.ViewContext

The object

urlGenerator - IUrlGenerator

The IUrlGenerator generator.

routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary

HasValue(Kendo.Mvc.INavigatable)

Determines whether this instance has value.

Parameters

navigatable - INavigatable

RETURNS

true if either ActionName and ControllerName, RouteName or Url are set; false otherwise

IsAccessible(Kendo.Mvc.INavigatable,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,Kendo.Mvc.Infrastructure.INavigationItemAuthorization)

Parameters

item - INavigatable
viewContext - Microsoft.AspNetCore.Mvc.Rendering.ViewContext
authorization - Kendo.Mvc.Infrastructure.INavigationItemAuthorization

IsAccessible(System.Collections.Generic.IEnumerable,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,Kendo.Mvc.Infrastructure.INavigationItemAuthorization)

Parameters

items - System.Collections.Generic.IEnumerable<T>
viewContext - Microsoft.AspNetCore.Mvc.Rendering.ViewContext
authorization - Kendo.Mvc.Infrastructure.INavigationItemAuthorization
In this article
Not finding the help you need?