Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

RadGrid model binding calling SQL twice

$
0
0
Also, Microsoft is going to be dropping support for EntityDataSource in Entity Framework 7. This is one reason why I think Telerik needs to get their act together and make RadGrid work properly with model binding. EntityDataSource will automatically apply the filtering, sorting, and paging at the database-level. IMHO, using model binding should work equally easy and well. I figured out how to implement this using System.Linq.Dynamic. I had to do some tweaking to the RadGrid.MasterTableView.FilterExpression to get it to work though. IMHO, Telerik needs to document custom paging better. The example given on the web site, disables custom paging when filtering is enabled. It took me awhile to figure out how to do it due to the documentation not being as good as it should have been. Also, if there is any documentation still around using LINQ to SQL, etc., it really needs to be updated. I don't know if it's still the case, but, I know there were a lot of examples, using LINQ to SQL and old ways of doing things while the documentation lacked for Entity Framework (the current standard database API for .NET).

Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>