This question is locked. New answers and comments are not allowed.
Hi there, I have a few confusions here that I believe might be related. The 3rd one is actually the end-result I am looking for but am unable to achieve, so it is the most important. Thank you for anything you can do!
1) I'm noticing all the examples displaying code like this...
But the working code I have acquired from a friend works like this...
And 'Bound' is not an available attribute for Grid.
2) Another similar issue is the 'databinding' code. Examples show...
But my working code looks like this with '.DataBinding' not an available attribute for Grid...
3) All the code I have is fully functional and giving me everything I need(including paging, sorting, filtering, and even Ajax actions), but the problem is I am loading a List<> into the Grid, so even 5000 records takes 5-10 seconds to load. I understand that every action/page load, etc. causes the Grid to load all 5000 records every time. I really just need it to load the 'PageSize' each time and I can't for the life of me figure this one out and I haven't been able to find any non-confusing help for this specific issue. (I'm sure it's right under my nose, but my head is spinning after three full days wasted.) Please help!
FYI.......These references, among many others, just haven't been cutting it for me :(
http://demos.telerik.com/aspnet-mvc-beta/grid
http://www.telerik.com/community/forums/aspnet-mvc/grid/best-approach-for-large-amounts-of-data.aspx
http://demos.telerik.com/aspnet-mvc/grid
Thx!
1) I'm noticing all the examples displaying code like this...
columns.Bound(o => o.OrderID).Width(100);
But the working code I have acquired from a friend works like this...
| columns.Add(c => c.EmailAddress); |
And 'Bound' is not an available attribute for Grid.
2) Another similar issue is the 'databinding' code. Examples show...
.DataBinding(dataBinding => dataBinding.Ajax().Select("_CustomBinding", "Grid"))
But my working code looks like this with '.DataBinding' not an available attribute for Grid...
| .ServerBinding(serverBinding => serverBinding.Action("CustomersAjaxBinding", "Grid")) |
| .Ajax(ajax => ajax.Action("_CustomersAjaxBinding", "Grid")) |
3) All the code I have is fully functional and giving me everything I need(including paging, sorting, filtering, and even Ajax actions), but the problem is I am loading a List<> into the Grid, so even 5000 records takes 5-10 seconds to load. I understand that every action/page load, etc. causes the Grid to load all 5000 records every time. I really just need it to load the 'PageSize' each time and I can't for the life of me figure this one out and I haven't been able to find any non-confusing help for this specific issue. (I'm sure it's right under my nose, but my head is spinning after three full days wasted.) Please help!
FYI.......These references, among many others, just haven't been cutting it for me :(
http://demos.telerik.com/aspnet-mvc-beta/grid
http://www.telerik.com/community/forums/aspnet-mvc/grid/best-approach-for-large-amounts-of-data.aspx
http://demos.telerik.com/aspnet-mvc/grid
Thx!