Session timeout does not cause grid error handler to fire

4 posts, 0 answers
  1. Shauna
    Shauna avatar
    4 posts
    Member since:
    May 2013

    Posted 07 Jan 2014 Link to this post

    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.
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 10 Jan 2014 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shauna
    Shauna avatar
    4 posts
    Member since:
    May 2013

    Posted 10 Jan 2014 Link to this post

    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"))
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 14 Jan 2014 Link to this post

    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.
Back to Top