Hi team,
We have a radgrid and using needdatasourceand. We have implemented paging on to it.
So we have a search button and we click on to it radgrid displays the content from datatable. We click on 2nd page and it displays 2nd page result. Up to here its perfectly fine. Now issue comes when we are on 2nd page and we click on search button, datatable correctly populates but radgrid still shows the 2nd page result.
Expected result should show the Ist page as new search was initiated.
protected void searchMe_Click(object sender, EventArgs e)
{
radgrid1.DataSource = null;
radgrid1.Rebind();
}
Datatable which is to be binded on button search click has the correct data in it but we don't know why this is showing the 2nd page data. Paging is working perfectly fine and we can go from one page to another with the correct data. Issue is when we click the search button after we navigate to 2nd or 3rd page, radgrid does not refreshes with the correct data.
Please help ASAP as this is extremely urgent.
We have a radgrid and using needdatasourceand. We have implemented paging on to it.
So we have a search button and we click on to it radgrid displays the content from datatable. We click on 2nd page and it displays 2nd page result. Up to here its perfectly fine. Now issue comes when we are on 2nd page and we click on search button, datatable correctly populates but radgrid still shows the 2nd page result.
Expected result should show the Ist page as new search was initiated.
protected void searchMe_Click(object sender, EventArgs e)
{
radgrid1.DataSource = null;
radgrid1.Rebind();
}
Datatable which is to be binded on button search click has the correct data in it but we don't know why this is showing the 2nd page data. Paging is working perfectly fine and we can go from one page to another with the correct data. Issue is when we click the search button after we navigate to 2nd or 3rd page, radgrid does not refreshes with the correct data.
Please help ASAP as this is extremely urgent.