This is a migrated thread and some comments may be shown as answers.

Linq to SQL Row count issue

1 Answer 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Venkat
Top achievements
Rank 1
Venkat asked on 21 Jan 2011, 09:01 PM
Hi,
    I am using this rad grid for display things which uses linq to sql. 
http://demos.telerik.com/aspnet-ajax/grid/examples/performance/linq/defaultcs.aspx


But in this source code count (total no of rows is hardcoded) and it is not changing when we are applying filtering. How do we correct it?

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 26 Jan 2011, 04:25 PM
Hi Venkat,

This demo was made to show performance using 300000 records and this is the reason that TotalRowCount argument for the DataSource is set.
There is another demo that shows regular usage of LinqDataSource with the grid:
http://demos.telerik.com/aspnet-ajax/grid/examples/databinding/net35datasourcecontrols/defaultcs.aspx

All the best,
Vasil
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Venkat
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or