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

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -