When utilizing PageMethods within a JavaScript function to call methods in the codebehind, everything works flawlessly until I introduce URL rewriting into the mix. Once URL rewriting is enabled, the code breaks as though only refreshing the ASPX page and invoking just the page_load method.
PageMethods.myMethod(parameters, onSuccess, onFailed);
I attempted to use a rewriting rule similar to this:
<rewrite url="~/uso/(.+).aspx" to="~/uso/$1.aspx" processing ="stop"/>
Despite redirecting directly to the page, the issue persists. Could it possibly be related to the Intelligencia Rewriter module?
Any assistance would be greatly appreciated.