grid not displaying in mvc razor
I have attached my application . let me know where i did wrong.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
vidhyaPosted Jul 11, 2013, 6:11 AM
grid.Column("AssignmentName", "Assignment", format: @
But i get this error. how do i rectify it?
Compiler Error Message: CS1502: The best overloaded method match for 'System.Web.Helpers.WebGrid.Column(string, string, System.Func
vidhyaPosted Jul 11, 2013, 5:52 AM
where x is Model.Assignemnts
@if (x.ProjectConnected == true)
{
@x.CourseProjectName (Milestone: @Html.ActionLink(x.CourseProjMilestoneName, "Details", "PrjMgmt", new { id = x.CourseProjectId }, null))
}
else
{
}
Iftikar HussainPosted Jul 11, 2013, 5:48 AM
Regards,
Iftikar
vidhyaPosted Jul 11, 2013, 5:40 AM
grid.Bind(Model.Assignments, rowCount: Model.Assignments.Count, autoSortAndPage: true);
but the design is not clear.
Iftikar HussainPosted Jul 11, 2013, 5:28 AM
Regards,
Iftikar
vidhyaPosted Jul 11, 2013, 5:16 AM
Compiler Error Message: CS1502: The best overloaded method match for 'System.Web.Helpers.WebGrid.Bind(System.Collections.Generic.IEnumerable
Iftikar HussainPosted Jul 11, 2013, 5:02 AM
Regards,
Iftikar
vidhyaPosted Jul 11, 2013, 4:56 AM
CS1502: The best overloaded method match for 'System.Web.Helpers.WebGrid.WebGrid(System.Collections.Generic.IEnumerable
in the line
i added this in my application
Iftikar HussainPosted Jul 11, 2013, 3:52 AM
http://www.codeproject.com/Tips/615776/WebGrid-in-ASP-NET-MVC4
Regards,
Iftikar
vidhyaPosted Jul 11, 2013, 3:45 AM
Iftikar HussainPosted Jul 11, 2013, 3:31 AM
Regards,
Iftikar
vidhyaPosted Jul 11, 2013, 3:19 AM
It displays like this if i use version=2. how to rectify it.
Iftikar HussainPosted Jul 10, 2013, 8:44 AM
You can use WebGrid instead of Jquery Grid.
http://www.dotnetcurry.com/ShowArticle.aspx?ID=615
Regards,
Iftikar