jeudi 9 juin 2016

passing section id in mvc using @Url.Action so that user will be scrolled to a particular section after redirecting

I am a web designer but I am told to design static pages in mvc where rather then using href="some url" I have to use href="@Url.Action("Controller", View)" Now I want to pass a section id in the url so when the user redirects it will be scrolled down to that specific section usually in html this is the syntax I use


in Html I have something Like this

<section id="mysection">


I want to Know How I am gonna do this thing in mvc. Thanks

Aucun commentaire:

Enregistrer un commentaire