This is a migrated thread and some comments may be shown as answers.

telerik:RadPageView error inside Update Panel

6 Answers 140 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
amit
Top achievements
Rank 1
amit asked on 30 Sep 2016, 09:23 AM

We have telerik:RadMultiPage with 3 RadPageView control on a Visual Webpart in sharepoint site.

When this webpart is opened user enters few detail and then click on next button which will take then to next RADPageView .

But on Production server we are getting following error when user click on Next button 

ScriptResource.axd?d=OuxNwVWHD89YhOJQ8KoflBg1KGlPeB5feLGISY35w5AR9riq5maPEdVKtJ3yHJoTRwy9UXHCxY_UZtā€¦:5 Uncaught Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '
<!DOCTYPE html PUB'.

We are not having this issue in dev or Test environment , We have tried checking Firewall setting to check if Ajax header information is gettgin trimmed but it is not .

Please let me know If there is anything we can try , or there is any known issue regrading this ?

6 Answers, 1 is accepted

Sort by
0
Accepted
Vessy
Telerik team
answered on 04 Oct 2016, 02:24 PM
Hi Amit,

Usually the experienced error means that the Response was changed during an AJAX request, which often happens when a server error is thrown and there is a redirect for that.

You try registering the Next button changing the PageViews as a PostBack control and see whether this will help in resolving the case:
RadScriptManager sm = (RadScriptManager)Page.Master.FindControl("scriptManager");
sm.RegisterPostBackControl(this.btnNext);

Regards,
Vessy
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
amit
Top achievements
Rank 1
answered on 07 Oct 2016, 07:18 AM

Thank you for the suggestion ! but for us upgrading the SharePoint Patch version to 

March 2015 CU (15.0.4701.1000) on production server fixed the issue  :)

0
Vessy
Telerik team
answered on 10 Oct 2016, 04:53 PM
Hi,

Nice to hear you have managed to resolve the problem, Amit. Do not hesitate to drop us a line should we can be of further assistance on this matter.

Regards,
Vessy
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
amit
Top achievements
Rank 1
answered on 14 Oct 2016, 07:21 AM

Thank you Vessy  , 

Looks like we cannot update Server patch in production with above CU  because of DB huge DB size, I will try the approach which you have mentioned above and will let you know if it worked !!

0
Vessy
Telerik team
answered on 14 Oct 2016, 08:16 AM
Hi,

Sure, Amit - take all time needed for testing the suggested approach and let us know in case we can help you any further on this case.

Regards,
Vessy
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Pistle
Top achievements
Rank 1
Veteran
answered on 02 Oct 2020, 01:02 PM
Move all Telerik controls outside of the MS UpdatePanel and ajaxify them using merely he ajax manager. Placing RadScriptManager or asp ScriptManager inside update panel is not right as well.
Tags
WebParts for SharePoint
Asked by
amit
Top achievements
Rank 1
Answers by
Vessy
Telerik team
amit
Top achievements
Rank 1
Pistle
Top achievements
Rank 1
Veteran
Share this question
or