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

Checkboxs in filter screen not display properly

1 Answer 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Oved
Top achievements
Rank 1
Oved asked on 11 Oct 2011, 08:08 PM
In the App II use Grid as RootVisual and set its Direction to "RTL":
RootVisual = new Grid();
RootVisual.FlowDirection = FlowDirection.RightToLeft;

In the grid I placed GridView. 
When I tried to use the filter I saw the the checkbox mark in not dispay properly. See attatched screenshot 

Do you have any solution?

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 12 Oct 2011, 08:49 AM
Hello Oved,

Since the FlowDirection of the CheckBox is set to RightToLeft the check path is reversed indeed. 
You may see the same behavior with a single CheckBox with the following settings:

<CheckBox Content="RigthToLeft" HorizontalAlignment="Center" IsChecked="True" FlowDirection="RightToLeft" telerik:StyleManager.Theme="Office_Black" VerticalAlignment="Center"/>


If you want to override this behavior in RadGridView's FilteringControl you may predefine its template and harcode the FlowDirection of the CheckBox in the LIstBox, which holds the DistinctValues. 
I am attaching you sample project and a picture which demonstrates this approach. 




All the best,
Vanya Pavlova
the Telerik team

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

Tags
GridView
Asked by
Oved
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or