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

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

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -