Can not enter text in filter row

3 posts, 0 answers
  1. Chris Kirkman
    Chris Kirkman avatar
    37 posts
    Member since:
    Jul 2012

    Posted 01 Jul 2010 Link to this post

    I have a RadGridView where I have one column already defined (in the designer).  At runtime, additional columns are added to the Grid.

    I can type on the filter row for the pre-existing column; however for any new column added I can not.  I try to mouse click where I'd typically start typing my filter text and nothing happens. 

    What's up?

    The new columns are added this way.

    m_grd.Columns.Add(new Telerik.WinControls.UI.GridViewDataColumn("Name", "Name"));
  2. Chris Kirkman
    Chris Kirkman avatar
    37 posts
    Member since:
    Jul 2012

    Posted 01 Jul 2010 Link to this post

    I should post more often.

    When I added the new column I should have added it as a text column instead of a data column.

    m_grd.Columns.Add(new Telerik.WinControls.UI.GridViewTextBoxColumn("Name", "Name"));
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Svett
    Admin
    Svett avatar
    728 posts

    Posted 05 Jul 2010 Link to this post

    Hi Chris Kirkman,

    Yes, you are right.

    When you create an additional column manually, you should not use GridViewDataColumn. This class is the base class for all defined data columns (ex. GridViewTextBoxColumn). We have already considered this issue in our framework, therefore we will mark this class as abstract, so one would not be able to instantiate columns of this type.

    All the best,
    Svett
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top