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

Texbox of Filter RadGridView is Disabled

2 Answers 34 Views
GridView
This is a migrated thread and some comments may be shown as answers.
pp
Top achievements
Rank 1
pp asked on 08 Jun 2016, 03:57 PM

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 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Ivanov
Telerik team
answered on 09 Jun 2016, 04:32 PM
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.
0
pp
Top achievements
Rank 1
answered on 10 Jun 2016, 06:39 AM

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

 

Thank you Ivan for your help ;)

 

 

Tags
GridView
Asked by
pp
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
pp
Top achievements
Rank 1
Share this question
or