I have a GridView in an UpdatePanel (ASP.Net 2.0) .
I have this code for the PageIndexChanging method of the grid view:
protected void grdProductSearch_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
grdProductSearch.PageIndex = e.NewPageIndex;
grdProductSearch.DataBind();
}
For the UpdatePanel, in the Triggers collection I have added the GridView and the PageIndexChanging method for the EventName.
Yet, the grid displays data correctly but there is no response when I click the page numbers at the bottom. What am I doing wrong?
Thanks.