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

Can I use FilteringControl independently??

4 Answers 118 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vamshi
Top achievements
Rank 1
Vamshi asked on 18 Jun 2013, 12:13 AM
I want to use FilteringControl(which appears on radgridview/radtreelistview coloumn filters) independently in my user control. Is it possible to use it independently, if yes can some one guide me with some examples...

4 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 18 Jun 2013, 08:13 AM
Hi,

You can define the FilteringDropDown independently similar to:

<telerik:FilteringDropDown Name="fdd" Grid.Row="1" Margin="2"
                                    Column="{Binding Columns[\Established\], ElementName=clubsGrid}" />
 
Have in mind that if you place a FilteringDropDown outside the grid and associate it with a specific column, then this column has to be invisible in the grid, because its FilteringControl cannot be simultaneously shared between two separate Popups.

Regards,
Didie
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Vamshi
Top achievements
Rank 1
answered on 18 Jun 2013, 09:21 PM
Thanks for the help..

I tried to use the way you suggested, everything looks good but I noticed that the pop-up (filtercontrol pop-up) is not appearing next to the funnel its appearing at random location, is there any way to set popup placement?
0
Accepted
Dimitrina
Telerik team
answered on 21 Jun 2013, 08:31 AM
Hi,

I have placed the FitleringDropDown in a StackPanel or in a Grid.Row with Height=Auto and it always opens next to the funnel. 

<Grid>
     <Grid.RowDefinitions>
    <RowDefinition Height="*"/>
    <RowDefinition Height="Auto" />
     </Grid.RowDefinitions>
        ....
    <StackPanel Grid.Row="1" Orientation="Horizontal">
      <telerik:FilteringDropDown Name="fdd" Column="{Binding Columns[\Established\], ElementName=clubsGrid}" />
    </StackPanel>
</Grid>


Regards,
Didie
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Vamshi
Top achievements
Rank 1
answered on 21 Jun 2013, 05:06 PM
Thanks  your solution worked...wraping the filterdropdowncontrol with stackpanel did the magic..
Tags
General Discussions
Asked by
Vamshi
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Vamshi
Top achievements
Rank 1
Share this question
or