I just based on a sample of MVC Extension of GridView called "Sorting", so I created a new project and migrated all aspects of this sample to my project, including the settings "settings.Width = Unit.Percentage(100);", and I got the error "CS1660: Cannot convert lambda expression to type 'DevExpress.Web.Mvc.GridViewSettings' because it is not a delegate type".
Simplifing the sample I removed some stuffs from it, including the above quoted settings, and it worked.
When I uncomment the line with the above settings on the view GridPartial.cshtml the error occur, when it's commented the error doesn't occur.
What I done wrong to make the full sample to run on my project ?
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.