C# Класс Rebel.Cms.Web.Mvc.ActionFilters.PersistTabIndexOnRedirectAttribute

This checks if the result is a RedirectToRouteResult and if so appends a 'tabindex' query string with the 'ActiveTabIndex' parameter in the ValueProvider (the key can be customized)
Наследование: System.Web.Mvc.ActionFilterAttribute
Показать файл Открыть проект

Открытые методы

Метод Описание
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
PersistTabIndexOnRedirectAttribute ( ) : System.Web.Mvc

Constructor specifying "ActiveTabIndex" as the default key

PersistTabIndexOnRedirectAttribute ( string postValueKey ) : System.Web.Mvc

Constructor allowing you to specify the post data key to use to send as a query string to the redirect

Описание методов

OnActionExecuted() публичный Метод

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
Результат void

PersistTabIndexOnRedirectAttribute() публичный Метод

Constructor specifying "ActiveTabIndex" as the default key
public PersistTabIndexOnRedirectAttribute ( ) : System.Web.Mvc
Результат System.Web.Mvc

PersistTabIndexOnRedirectAttribute() публичный Метод

Constructor allowing you to specify the post data key to use to send as a query string to the redirect
public PersistTabIndexOnRedirectAttribute ( string postValueKey ) : System.Web.Mvc
postValueKey string
Результат System.Web.Mvc