Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SharePoint 2013 Updatepanel Idle

I have implemented AJAX update panel on my SharePoint visual web part. The web part contains two dropdownlists and and a grid surrounded by update panel.

The page is working fine in Chrome/Safari/IE until I leave the page idle for a while. The page will then cause a full postback in Chrome/Safari, but not in IE. In IE its still working perfectly. I've looked at the requests in Fiddler and see that SharePoint is making a request to /_login/default.aspx?ReturnUrl=%2fSitePages%2fIssues.aspx

In IE this does not happen. Have anyone else encountered this problem. I've been looking for a solution the last two days and haven't found anything.

like image 628
razeth01 Avatar asked Nov 11 '22 22:11

razeth01


1 Answers

I was able to fix this issue by placing a timer in the updatepanel to do a refresh every minute. It's not pretty, but it works.

like image 124
razeth01 Avatar answered Nov 14 '22 22:11

razeth01