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

Problems with filterDialog on columns

3 Answers 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 02 May 2012, 10:11 PM
Hi,

I use Telerik V2011.3.1220.35 and in my application I have multiple radgridview in multiple radwindow. I don't know why but with some radgridview, I have a problem when I try to use the filter icon in the columns headers. For those radgridview who I have problems with, when I click on the filter icon in columns header, a filters dialog appear, in the filter dialog, I can see a list of values that I can select or unselect without any problem but when I try to use the textbox to enter a value manually, the only char the textbox accept is the space!!!

I tried to compare one of my working radgridview with another one which is not working without any succes :(

PS: Each RadGridView are build dynamically at runtime, ie: Columns, Grouping, Sortings, etc...

Can you point me into a direction that I can check?

Thank's

3 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 03 May 2012, 08:22 AM
Hi,

That is totally weird. We have never seen the TextBox accept only the space char before. What is the data type of the column? Can you send us a project which we can debug? Without being able to debug, we cannot guess what is happening on your end.

All the best,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Oliver
Top achievements
Rank 1
answered on 03 May 2012, 04:59 PM
Hi Ross,

it's totally weird, for some of my grids, filters work perfectly and the other grids,  all filters columns doesn't work!!!
For the grid which I have those problems, the grids contains columns of types: string, DateTime, Boolean, Decimal

If I create a new solution from scratch, everything work of course. It's verry hard for me to provide a demo with such of problems because I use a lot of methods to build my grids. :(

All the grids in my solution are build dynamically, I use the same method to build my grids. I'm 90% sure that the problem is on my side but I don't know what to check. I already check a lot of thing without any success that's why I asked for a direction to check :(

Thank's
0
Oliver
Top achievements
Rank 1
answered on 04 May 2012, 03:27 PM
Hi,

I finally found the issue but I really don't know how to fix it :)
This is because I show up my dialog with SHOW instead of SHOWDIALOG !!!!!

Probably the solution:

using System;
using System.Windows.Forms;
using System.Windows.Forms.Integration; // Need a refrerence to WindowsFormsIntegration
 
var wpfwindow = new WPFWindow.Window1();
ElementHost.EnableModelessKeyboardInterop(wpfwindow);
wpfwindow.Show();

Thank's
Tags
GridView
Asked by
Oliver
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Oliver
Top achievements
Rank 1
Share this question
or