In radgrid i am having a custom filter using a button. Here is my code.
protected void imSearch1_Click(object sender, EventArgs e)
{
RadTextBox txtFirstName = (RadTextBox)RadPanelBar1.FindItemByValue("QuickSearch").FindControl("txtFirstName");
RadTextBox txtLastName = (RadTextBox)RadPanelBar1.FindItemByValue("QuickSearch").FindControl("txtLastName");
DataSet ds = DhsBasePage.getProxyDataService().GetProviderListByName(txtFirstName.Text, txtLastName.Text);
RadGrid1.DataSource = ds;
RadGrid1.Rebind();
}
This works good, but this filter not applied to the next page. In other words when i click the next page, the grid lost the filter.
Need help ASAP.
Thanks in advance.
Eva