Showing posts with label Chrome. Show all posts
Showing posts with label Chrome. Show all posts

Thursday, March 13, 2014

When passing multiple parameters as query string, the redirection will work properly in Internet Explorer. This is because the special character '&' is escaped automatically.

But in Mozilla, Chrome it will not work.
www.example.com/controller/action?a=1&b=2

In order to work we need to escape the ampersand special character using Razor syntax @Html.Raw(string).

www.example.com/controller/action?a=1&b=2