Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Here i have a Code for a html hyper link page to redirect on a specific new page

HTML
<%: Html.ActionLink("What we offer", "our-services", "Home") %>



Controller Page Code

C#
public ActionResult our-services()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }


"-" This is showing an error ..
do let me know how to use special characters for a User friendly URLs ..
Posted
Updated 29-Mar-15 23:30pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900