css3 - add a class atribute to an actionLink (HTML Helper) in asp.net mvc5 -


i want add class attribute actionlink , use sintax

@html.actionlink("ادامه مطلب", "detaile", new { @class = "mycssclass" } ) 

but doesn't work

html.actionlink("create new", "create", controllername, null, new { @class= "yourcssclass"} 

maybe you missing controller name


Comments

Popular posts from this blog

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -

shared memory - gstreamer shmsrc and shmsink with h264 data -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -