This is a migrated thread and some comments may be shown as answers.

Session timeout does not cause grid error handler to fire

4 Answers 55 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Shauna
Top achievements
Rank 1
Shauna asked on 07 Jan 2014, 09:00 PM
When the session timeout occurs the telerik grid's display a blank and the error handler method I have defind is never called. The code calls a redirect function which routes to a different view. The response from the redirect is not json, which should trigger the grids error handler, but it does not.

4 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 10 Jan 2014, 02:18 PM
Hello Shauna,

By default RadGrid does not use Session to persist any of its settings. However, if you have enabled the ViewState to be persisted in Session you may observe the reported behavior. Please ensure that your viewstate is not persisted in session.

In addition in case you use RadCompression, please ensure that you have not enabled compressing viewstate in session.

I hope this helps.

Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Shauna
Top achievements
Rank 1
answered on 10 Jan 2014, 04:43 PM
As stated earlier, I am using the Telerik Grid's, with MVC3. These grid allow you to specify a error event handler in case of an error. Unfortunaltey when a redirect occurs this function is not triggered, even though the response is not in Json format.


         .Events(events => events.Error("error_handler"))
0
Maria Ilieva
Telerik team
answered on 14 Jan 2014, 11:49 AM
Hi Shauna,

In case you are using KendoUI for ASP .NET MVC RadGrid control could I kindly ask you to post your question in the appropriate KendoUI forum section so that the Kendo team could provide the best assassinate for your specific case.

Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Steve
Top achievements
Rank 1
answered on 20 Nov 2017, 11:12 PM
And you wonder why you have a bad reputation on documentation... here's this phrase "the best assassinate for your specific case."... what the heck is this - if we have to spend time debugging text from a reply why are your controls worth $1000 renewal subscription fee?
Tags
Ajax
Asked by
Shauna
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Shauna
Top achievements
Rank 1
Steve
Top achievements
Rank 1
Share this question
or