Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > General Discussions > Ajax error when session expire and clicking grid row
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Ajax error when session expire and clicking grid row

Feed from this thread
  • Reyaz avatar

    Posted on May 30, 2011 (permalink)

    Hi Team,

    My problem is same as mentioned in following url:

    http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/381320-sys-webforms-pagerequestmanagerservererrorexception.aspx


    Regards,
    Reyaz Ahmad

  • Veli Veli admin's avatar

    Posted on Jun 2, 2011 (permalink)

    Hello Reyaz,

    As suggested by Iana in the forum thread you are referring to, you need to disable all AJAX behavior on your page to have this server side exception pop out with a detailed explanation and stack trace. Removing the AJAX controls from your page, or setting EnableAJAX="false" (if using any of the RadAjax controls) would completely disable AJAX and you will have full page postbacks every time.

    Greetings,
    Veli
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  • Reyaz avatar

    Posted on Jun 2, 2011 (permalink)

    Hi Veli,

    When i am removing ajax setting from pages and try to clicking on grid row after session expire. it does not give me any error and redirect to longing page.

    I think there is some problem in ajax but not able to find it.


    Regads,
    Reyaz

  • Veli Veli admin's avatar

    Posted on Jun 2, 2011 (permalink)

    Hello Reyaz,

    The issue might lie in the redirection. Page redirection is not supported with the MS AJAX framework. Can you let us know what AJAX controls you are using, so that we can test this scenario locally.

    Veli
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  • Reyaz avatar

    Posted on Jun 2, 2011 (permalink)

    Hello Veli,

    When session will expire, my code will redirect to longing page on clicking of grid row or in any other action  which is my website functionality. I have written code for this.

    THE problem is: if i removed ajax from page then it work fine on clicking grid row after session expire. but when i used it, gives error. screen shot is already attached on existing thread.

    Plz suggest again.

    Thanks
    Reyaz

  • Veli Veli admin's avatar

    Posted on Jun 6, 2011 (permalink)

    There is no screen shot attached in this thread. Probably missed to attach it?! Apart from that, if you are using custom logic for redirection, try the following 2 methods, depending on what AJAX control you are using:

    RadAjaxManager.GetCurrent(Page).Redirect()

    RadAjaxPanel1.Redirect()

    Let me know how it goes.

    Veli
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > General Discussions > Ajax error when session expire and clicking grid row