mardi 22 avril 2014

Routing to matched url in ASP.NET Webform


Vote count:

0




I'm trying to Route matching url like below



RouteTable.Routes.MapPageRoute("Contact", "Contact", "~/contactus.aspx",
false, new RouteValueDictionary() { { "Contact", @"\^c*\" } });


I want to redirect "contactus.aspx" when user enter "/c...".(start with letter 'c')


But not working. I don't know whether this is right way or not.


How can i achieve?



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire