Texbox of Filter RadGridView is Disabled

3 posts, 1 answers
  1. pp
    pp avatar
    2 posts
    Member since:
    Apr 2016

    Posted 08 Jun Link to this post

    Hello support guys,

     

    I add a radgridview in a WPF usercontrol

    [...]

    radGridView1.ItemsSource = GetTable();

    [...]

    private DataTable GetTable()
    {
    // Here we create a DataTable with four columns.
    DataTable table = new DataTable();
    table.Columns.Add("Dosage");
    table.Columns.Add("Drug");
    table.Columns.Add("Patient");
    table.Columns.Add("Date", typeof(DateTime));
    // Here we add five DataRows.
    table.Rows.Add(25, "Indocin", "David", DateTime.Now);
    table.Rows.Add(50, "Enebrel", "Sam", DateTime.Now);
    table.Rows.Add(10, "Hydralazine", "Christoff", DateTime.Now);
    table.Rows.Add(21, "Combivent", "Janet", DateTime.Now);
    table.Rows.Add(100, "Dilantin", "Melanie", DateTime.Now);
    return table;
    }

    but when I trie filter a column, I cannot type anything in the filter textbox (see document attached). Is there any property to enable it?

    Thank you in advance,

    PP

     

     

  2. Answer
    Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 09 Jun Link to this post

    Hi,

    I tried to reproduce the described issue with RadGridView in a UserControl, using the given data table. However, I did not have much success. Could you please have a look at the attached project and tell me whether I am missing any specific step?

    Regards,
    Ivan Ivanov
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. pp
    pp avatar
    2 posts
    Member since:
    Apr 2016

    Posted 10 Jun in reply to Ivan Ivanov Link to this post

    Aaaaaarrrggghh!!! It was my fault!!!! I missed using Telerik dll.

     

    Thank you Ivan for your help ;)

     

     

Back to Top