R
Randy
Hello,
I've got an ASP app. I have a simple datagrid. If I don't use column
templates I can easily set up the datagrid to use paging by creating a
PageIndexChanged event and putting this code in it...
DataGrid1.CurrentPageIndex = e.NewPageIndex;
DataGrid1.DataBind();
This works fine. But when I then use column styles for the datagrid using
Labels in the item template slot, when I click the next page link at the
bottom of the datagrid, when the code hits the DataGrid1.DataBind();
it bombs with the error...
The IListSource does not contain any data sources.
Does anyone know how to fix this?
Thanks for any help
I've got an ASP app. I have a simple datagrid. If I don't use column
templates I can easily set up the datagrid to use paging by creating a
PageIndexChanged event and putting this code in it...
DataGrid1.CurrentPageIndex = e.NewPageIndex;
DataGrid1.DataBind();
This works fine. But when I then use column styles for the datagrid using
Labels in the item template slot, when I click the next page link at the
bottom of the datagrid, when the code hits the DataGrid1.DataBind();
it bombs with the error...
The IListSource does not contain any data sources.
Does anyone know how to fix this?
Thanks for any help