Hello,
I am using version 2007.0.528.0. When I am using AutoPaging and select a row my page count goes back to 1. I have tried to follow your beta documents closely for this initial test.
I am setting the total rows on the esDataSource control if it is not a postback.
Code:
VwSeatPlan plan = new VwSeatPlan();
plan.Query.es.CountAll = true;
plan.Query.es.CountAllAlias = "SeatCount";
if (plan.Query.Load())
{
EsDataSource1.TotalRowCount = (int)plan.GetColumn("SeatCount");
}
and I am letting the esDataSource call the load function...
Code:
protected void EsDataSource1_esSelect1(object sender, esDataSourceSelectEventArgs e)
{
VwSeatPlanCollection collection = new VwSeatPlanCollection();
e.Collection = collection;
}
I have AutoPaging and AutoSorting turned on. I have the gridview sorting on a field via the gridview's sort method. With these conditions anytime I select a row the page count goes back to 1. What am I missing?
Thanks,
Peter