I have a problem by Url.Action in asp.net MVC. this is a sample:
Url.Action("index", new { page = 1, success = 2});
This code generate this url index?page=1&success=2
In this url there is &
instead of &
character.
because of this problem Request.QueryString["success"]
return null.
What is the solution?
Note: Im using Url.Action and Request.QueryString in a view not a controller.