This is a migrated thread and some comments may be shown as answers.

Filter Issue

1 Answer 12 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Amrutha
Top achievements
Rank 1
Amrutha asked on 20 Sep 2013, 06:20 AM
Hi,

I am facing an issue in RadGrid Filtering. Please check the steps to replicate.

1. Click any row

2. Try filtering the column

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false" OnNeedDataSource="RadGrid1_NeedDataSource" AllowFilteringByColumn="true" ClientSettings-EnablePostBackOnRowClick="true">
    <MasterTableView>
        <Columns>
            <telerik:GridBoundColumn DataField="OrderID">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <FilterMenu EnableImageSprites="false">
    </FilterMenu>
</telerik:RadGrid>

C#:
protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
    string selectQuery1 = "select top 10 OrderID  from Orders";
    SqlDataAdapter adapter1 = new SqlDataAdapter(selectQuery1, conn);
    conn.Open();
    DataTable dt = new DataTable();
    adapter1.Fill(dt);
    conn.Close();
    Session["dt"] = dt;
    RadGrid1.DataSource = dt;
}

Thanks,
Amrutha

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 24 Sep 2013, 04:06 PM
Hello Amrutha,

Using the provided setting for the RadGrid I was not able to observe any issues with the filtering and everything is working as expected on my side.

Could you please elaborate a little more about the issue you are facing and provide information about the RadControls version you are using. Furthermore, If you are using old RadControls versions, please try to update to our latest versions to see if the issue still persists.

Hope that helps.

 

Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Amrutha
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or