When I click the search button results are being displayed in a gridview. When I click on a page number, no results are being returned. I've enabled paging on the gridview and objectdatasource. I'm also setting the maxrows and startindex values. Is there
something I need to set on the code behind to have results displayed for the remaining pages?
<asp:ObjectDataSource ID="EmailDataSource" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetEmailList"
TypeName="Communication.BLL.Email"
StartRowIndexParameterName="StartIndex"
MaximumRowsParameterName="MaximumRows"
EnablePaging="True"
SelectCountMethod="GetEmailCount" >
<SelectParameters>
...
Go to the complete details ...