1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / sys.webforms.pagerequestmanagerservererrorexception

sys.webforms.pagerequestmanagerservererrorexception

3 posts, 0 answered
  1. Mike
    Mike avatar
    221 posts
    Registered:
    19 Aug 2008
    14 Jan 2009
    Link to this post
    What is this error??? I have been getting this ALLOT and i think it is because of the RadPanel...

    sys.webforms.pagerequestmanagerservererrorexception: an unknown error occurred while processing the request on the server. the status code returned from the server was: 405

    Recently i got the same error but with a 404 status code... I resolved this by using this Javascript on the page:

    <script language="JavaScript" type="text/javascript">
        function EndRequestHandler() { theForm.action = document.location.href; theForm._initialAction
        = theForm.action; } if( typeof(Sys) != "undefined" ) { EndRequestHandler(); Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
        }
    </script>


    Now i am getting a 405 status code...

    I have 2 RadDatePicker controls inside a RadPanel... I am firing the OnSelectedDateChanged on the first control to set the second, like this:

                                        <rad:RadDatePicker ID="RadDatePicker1" runat="server" SharedCalendarID="sharedCalendar"
                                            SkinID="sknRadDatePicker" OnSelectedDateChanged="RadDatePicker1_SelectedDateChanged"
                                            AutoPostBack="true">
                                        </rad:RadDatePicker>


        protected void RadDatePicker1_SelectedDateChanged(object sender, Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs e)
        {
                RadDatePicker2.MinDate = RadDatePicker1.SelectedDate.Value;
                RadDatePicker2.SelectedDate = RadDatePicker1.SelectedDate.Value.AddDays(1);
        }


    First time work great... Second OnSelectedDateChanged... .boom.... error!

    I have searched these forums and found little to no information on why this is happening... Please, please can someone help me, i am getting frustrated...

    Removing the RadAjaxPanel solves the problem but this is unacceptable, i require the RadAjaxPanel...

    Please any help would be great,

    Duncan
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    16 Jan 2009
    Link to this post
    Hello Duncan,

    I will try to provide you with an answer or a suggestion on Monday next week.

    Sincerely yours,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    19 Jan 2009
    Link to this post
    Hi Duncan,

    Do you use this in a Sitefinity user control? Or it is in standard aspx page? We tested with an aspx page but everything is working as expected. If it is a user control, you could send it, and we will debug it locally.

    Greetings,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
3 posts, 0 answered