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

"Input string not in correct format" - how to get SP 2013 to ignore my query strings

$
0
0

We just recently upgraded to SharePoint 2013 from SharePoint 2010.

I had a page in SharePoint with a Content Editor web part with some javascript in it that pulled some information out of the query string and did some things with it.

An example would be:

http://sharepoint/MySite/Pages/default.aspx?Server=myapp&Page=mypage.aspx&TabIndex=1&AppID=19048

My javascript code pulled out Server, Page, TabIndex, and AppID from the query string and did some things with them.

That same is now migrated to SharePoint 2013, but when users visit that URL, SharePoint 2013 displays "Input string not in correct format".

SharePoint 2010 ignored anything in the query string it did not use.  How can I get SharePoint 2013 to ignore these things or how else can I pass data to the page?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



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