I have an esDataSource and a MS GriveView on my page. The esSelect event contains the following code:
Code:
JobCollection jobs = new JobCollection();
jobs.Query.Where(jobs.Query.Enabled.Equal(
true), jobs.Query.DateClosed.GreaterThan(DateTime.Now)); jobs.Query.OrderBy(jobs.Query.DatePosted.Descending);
jobs.Query.Load();
e.Collection = jobs;
I've set the PageSize properties on both the grid and data source to 10.
If I set the grid's AllowPaging property to false, the GridView contains data when I run my web app. However, as soon as I enable the AllowPagin property, my grid contains no data! It renders the contents of the EmptyDataTemplate.
I'm using a SQLServer 2005 database, and the latest beta build of ES 2007.
Any ideas?
I've switched to the MS GridView because I couldn't get binding to work with my main grid (ComponentArts' Web.UI Grid 2007.1).
Leigh