Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
html.actionlink in mvc3 razor error in assigning a class name:

hai i am trying to work with partialview popup on webgrid column click by using action click i am not able to assign a classname to the actionclick

the code is

Model.grid.Column(columnName:"Conformation_email",header:"Conformation e-mail", format:@<text>@Ajax.ActionLink(linkText: (string)@item.Conformation_email,actionName: "GetSCTargetSystem",new { controller = "MyController", id = 1 }, new { @class = "my-class" }) )
and
at new it is showing error like
named argument specification must appear after all fixed arguments have been specified.
Posted

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