Issue:Response.Redirect cannot be called in a Page callback when using devexpress controls
Solution :
if (Session.IsNewSession || !User.Identity.IsAuthenticated)
if (IsCallback)
DevExpress.Web.ASPxClasses.ASPxWebControl.RedirectOnCallback("SessionTimeout.aspx");
else
Response.Redirect("SessionTimeout.aspx");
| |
This email has been checked for viruses by Avast antivirus software.
www.avast.com |
No comments:
Post a Comment