阅读背景:

Kendo数据源不会触发重定向响应的错误处理程序

来源:互联网 

I have some Kendo MVC grids bound to remote Json controller actions which work very well. The MVC application uses a custom AuthorizeAttribute for authorizing access to the controller actions and when a user is not authenticated it replies with a 302 redirect to the login page. Everything is fine, except that when the session expires, the datasource read calls fail silently as they receive the redirect response instead of the expected data. I have tried handling this situation in the error event handler of the datasource, but the handler does not get called in this situation.I have some Kendo MVC grids bound to remote Jso




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: