Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Problem with control handling in Page Viewer Webpart (JS issue)

$
0
0

Hello,

I have a pageviewer webpart in my Sharepoint 2013 masterpage and it shows a webapp page that we have running.

The page works fine in Chrome and Firefox but in IE 10 it returns a javascript error "

SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.

"

I delved into a debug and this is being caused by internal javascript executed by Sharepoint and I can't figure out the problem. I also ran in debug for Firefox and Chrome just to be sure as I know those 2 keep executing even after throwing and error.

The error (even though it's not thrown at this line) is caused by this method :

var data = this._parseDelta(sender);

When it gets inside the method it runs :

function

Sys$WebForms$PageRequestManager$_parseDelta(executor) {

        var reply = executor.get_responseData();

and the result of the reply var is "input string is not in a correct format" and in chrome it returns the response with the html.

So I can only assume it comes from the get_responseData(), problem is I don't know how to fix it.

Can anyone help please?

Thank you


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>