Question Background: This question is part of my other question, I posted this new question to make things easy to understand, the main question link is this: LINK , In this link you can find full brief information of my project and a solutions for loading CSS with context.rewritepath issue.
in my project, I wrote context.rewritepath in global.asax to redirect user request to different location without changing addressbar address.
Issue is: without context.rewritepath jquery ajax is working perfectly;calling webmethod with response back in json. but when i am using context.rewritepath then jquery ajax response back is html instead of json.
here are the live links:
jasbir.bhinderblink.com
bhinderblink.com/users/jasbir/default.aspx
both links are calling same page from server. first is with context.rewritepath and second is without context.rewritepath. As demo test, On this page you can click top second or third text box and it will give you a type box to save data to database.
You will notice that first link generates error and if you go to firebug java HelloWorld POST response then you will see it is returning html instead of json, second link returns json data