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

NavigatableExtensions

Methods

Action(Kendo.Mvc.INavigatable,System.Web.Routing.RouteValueDictionary)

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

Parameters

navigatable - INavigatable

The INavigatable object.

routeValues - System.Web.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,System.Web.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 - System.Web.Routing.RouteValueDictionary

Route values as System.Web.Routing.RouteValueDictionary

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

The Url.

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,System.Web.Routing.RouteValueDictionary)

Sets the route name and route values of INavigatable object.

Parameters

navigatable - INavigatable

The INavigatable object.

routeName - System.String

Route name.

routeValues - System.Web.Routing.RouteValueDictionary

Route values as System.Web.Routing.RouteValueDictionary.

GenerateUrl(Kendo.Mvc.INavigatable,System.Web.Mvc.ViewContext,Kendo.Mvc.IUrlGenerator)

Generating url depending on the ViewContext and the IUrlGenerator generator.

Parameters

navigatable - INavigatable

The INavigatable object.

viewContext - System.Web.Mvc.ViewContext

The System.Web.Mvc.ViewContext object

urlGenerator - IUrlGenerator

The IUrlGenerator generator.

IsCurrent(Kendo.Mvc.INavigatable,System.Web.Mvc.ViewContext,Kendo.Mvc.IUrlGenerator)

Determines whether the specified navigatable matches the current request URL.

Parameters

navigatable - INavigatable

The INavigatable object.

viewContext - System.Web.Mvc.ViewContext

The System.Web.Mvc.ViewContext object.

urlGenerator - IUrlGenerator

The IUrlGenerator generator.

GenerateUrl(Kendo.Mvc.INavigatable,System.Web.Mvc.ViewContext,Kendo.Mvc.IUrlGenerator,System.Web.Routing.RouteValueDictionary)

Generating url depending on the ViewContext and the IUrlGenerator generator.

Parameters

navigatable - INavigatable

The INavigatable object.

viewContext - System.Web.Mvc.ViewContext

The System.Web.Mvc.ViewContext object

urlGenerator - IUrlGenerator

The IUrlGenerator generator.

routeValues - System.Web.Routing.RouteValueDictionary

Route values as System.Web.Routing.RouteValueDictionary.

IsAccessible(Kendo.Mvc.INavigatable,Kendo.Mvc.Infrastructure.INavigationItemAuthorization,System.Web.Mvc.ViewContext)

Verify whether the INavigatable object is accessible.

Parameters

item - INavigatable

The INavigatable object.

authorization - Kendo.Mvc.Infrastructure.INavigationItemAuthorization

The INavigationItemAuthorization object.

viewContext - System.Web.Mvc.ViewContext

The System.Web.Mvc.ViewContext object

IsAccessible(System.Collections.Generic.IEnumerable,Kendo.Mvc.Infrastructure.INavigationItemAuthorization,System.Web.Mvc.ViewContext)

Verifies whether collection of INavigatable objects is accessible.

Parameters

items - System.Collections.Generic.IEnumerable<T>

The INavigatable object.

authorization - Kendo.Mvc.Infrastructure.INavigationItemAuthorization

The INavigationItemAuthorization object.

viewContext - System.Web.Mvc.ViewContext

The System.Web.Mvc.ViewContext object

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

In this article
Not finding the help you need?