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

Authentication Error on navigate

1 Answer 68 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Pete
Top achievements
Rank 1
Pete asked on 17 Jan 2017, 01:21 PM

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

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 19 Jan 2017, 08:50 AM
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.
Tags
TabStrip
Asked by
Pete
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or