I have a RadTreeView with Ajax enabled and node ExpandMode set to ServerSideCallBack.
User has the tree displayed and leaves their machine idle. ASP.Net session timeout occurs, but this is not apparent to the user. At some point following timeout, the user clicks on a tree node to expand it. The Ajax "loading" gif appears and they are stuck there with the gif spinning and no response, no redirect, etc.
Fiddler analysis shows a 302 redirect coming back to the browser from the server, but the RadTreeView does not detect it.
So, how do I detect a session timeout / 302 redirect when a RadTreeView node is clicked and the tree attempts to expand the node through server side callback?
If helpful, here's Fiddler capture of the response sent back to the web form that the RadTreeView does not honor:
HTTP/1.1 302 Found
Server: ASP.NET Development Server/9.0.0.0
Date: Mon, 09 Aug 2010 23:12:36 GMT
X-AspNet-Version: 2.0.50727
Location: /login.aspx?ReturnUrl=%2fAdmin%2fBillingGroupAdministration.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 191
Connection: Close
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2flogin.aspx%3fReturnUrl%3d%252fAdmin%252fBillingGroupAdministration.aspx">here</a>.</h2>
</body></html>
User has the tree displayed and leaves their machine idle. ASP.Net session timeout occurs, but this is not apparent to the user. At some point following timeout, the user clicks on a tree node to expand it. The Ajax "loading" gif appears and they are stuck there with the gif spinning and no response, no redirect, etc.
Fiddler analysis shows a 302 redirect coming back to the browser from the server, but the RadTreeView does not detect it.
So, how do I detect a session timeout / 302 redirect when a RadTreeView node is clicked and the tree attempts to expand the node through server side callback?
If helpful, here's Fiddler capture of the response sent back to the web form that the RadTreeView does not honor:
HTTP/1.1 302 Found
Server: ASP.NET Development Server/9.0.0.0
Date: Mon, 09 Aug 2010 23:12:36 GMT
X-AspNet-Version: 2.0.50727
Location: /login.aspx?ReturnUrl=%2fAdmin%2fBillingGroupAdministration.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 191
Connection: Close
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2flogin.aspx%3fReturnUrl%3d%252fAdmin%252fBillingGroupAdministration.aspx">here</a>.</h2>
</body></html>