I Have define one WebGrid Control and I want to set column width hence i set the column width in following way
Grid.Column("Details", canSort: false, format: (item) => Html.ActionLink("Details", "Details", new { id = item.CompetitiveExam.CompetitiveExamId }),style:"details")
and my css class is like...
.details{ width:100px; }
this above code properly working but I dont want use separate css class.
and im also trying in following code using embeded css but it dont work.....
Grid.Column("Details", canSort: false, format: (item) => Html.ActionLink("Details", "Details", new { id = item.CompetitiveExam.CompetitiveExamId }),style:"width:100px")
please any one can help me..............