Url.Action - these are the values ​​of the encoding parameters

In ASP.NET MVC, if I use:

<% Response.Write (Url.Action ("Index", "usermanagement", new RouteValueDictionary (new {page = "{0}"}))); %>

I get:

/ usermanagement? Page =% 7B0% 7D

But I wanted to get:

/ usermanagement? Page = {0}

Why is it encondig my parameter value, and what should I do to write the parameter value unencoded?

thank

+5
source share
2 answers

Url.Action URL-. URL- URL- URL-. , . URL-, .

-3

-, QueryString, . . , Url.Action().

0

All Articles