This question is locked. New answers and comments are not allowed.
I have a route in my web application to a web forms page that maps to the url '/contact'.
When I drop the MVC Grid in my app it uses this url format when doing ajax requests:
http://{domain}/contact?action={MyActionName}&controller={MyControllerName}
Because I have a route for '/contact' else ware in my app these ajax requests are retrieving the html for that page instead of the expected json for the grid.
http://{domain}/{application name probably}/{ControllerName/{ActionName}
My question is: How can I get the MVC Grid to NOT use the '/contact' url segment with controller and action as querystring parameter as it's route configuration, generating full querystring parameterless urls with the controller and action name in the path, thus avoiding my routing conflict.
When I drop the MVC Grid in my app it uses this url format when doing ajax requests:
http://{domain}/contact?action={MyActionName}&controller={MyControllerName}
Because I have a route for '/contact' else ware in my app these ajax requests are retrieving the html for that page instead of the expected json for the grid.
http://{domain}/{application name probably}/{ControllerName/{ActionName}
My question is: How can I get the MVC Grid to NOT use the '/contact' url segment with controller and action as querystring parameter as it's route configuration, generating full querystring parameterless urls with the controller and action name in the path, thus avoiding my routing conflict.