Authentication Error on navigate

2 posts, 0 answers
  1. Pete
    Pete avatar
    1 posts
    Member since:
    Aug 2016

    Posted 17 Jan Link to this post

    Hi

    I am using a tabstrip with the content of each tab being retrieved from a controller using LoadContentFrom, the controller for each tab returns a partial view, which all works fine. The problem I have is that some users frequently leave their computers for some time, then when they click on a new tab their session has timed out. I can see the ajax call in this situation correctly gets back a 401, however the tabstrip just displays an empty div which confuses the users.

    I've tried hooking all the tab strip events and inspecting the parameters but there does not appear to be anyway of identifying a 401 has been returned, is this possible? If I can trap the 401 in JavaScript I can deal with it appropriately.

    My environment is MVC 5, Kendo 2016.3, .Net 4.5.2

    TIA

    Pete

  2. Nencho
    Admin
    Nencho avatar
    1669 posts

    Posted 19 Jan Link to this post

    Hello Pete,

    Similar topic is discussed in the referenced forum thread below, which I would advise you to inspect. Regardless, that the Widget in question is the ComboBox, the implementation for handling this scenario should be similar:

    http://www.telerik.com/forums/cascading-combo-boxes-and-timed-out-authentication

    Regards,
    Nencho
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top