This question is locked. New answers and comments are not allowed.
Hi,
I'm solving pretty common scenario. I have say 500 records in some database table. I want to show them as quickly as possible into RagGrid with some paging, sorting and filtering. As far as I know there ase many ways. Which one is "best pratice" and most performance capable?
I'm solving pretty common scenario. I have say 500 records in some database table. I want to show them as quickly as possible into RagGrid with some paging, sorting and filtering. As far as I know there ase many ways. Which one is "best pratice" and most performance capable?
- Standard OpenAccessLinqDatasource with dynamic "where" in code
<telerik:OpenAccessLinqDataSourcerunat="server"ID="ldsCustomers"ContextTypeName="MyDataContext"EnableDelete="True"EnableInsert="True"EnableUpdate="True"ResourceSetName="Customers"/>
- Using NeedDataSource event of RadGrid
DimdcAsNewDataContext'it is declared in masterpage in real applicationDimmyRecords=from q in dc.Customers OrderBy q.NameSelectqrgCustomers.DataSource=myRecords
- Using OpenAccessLinqDataSource, but replace results
DimdcAsNewDataContext'it is declared in masterpage in real applicationDimmyRecords=from q in dc.Customers OrderBy q.NameSelectqe.Result=myRecords
Are there some performance guidelines for OpenAccess in ASP.NET applications?