Can I use FilteringControl independently??

5 posts, 2 answers
  1. Vamshi
    Vamshi avatar
    7 posts
    Member since:
    Feb 2012

    Posted 17 Jun 2013 Link to this post

    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...
  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 18 Jun 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Vamshi
    Vamshi avatar
    7 posts
    Member since:
    Feb 2012

    Posted 18 Jun 2013 Link to this post

    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?
  5. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 Jun 2013 Link to this post

    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.

  6. Vamshi
    Vamshi avatar
    7 posts
    Member since:
    Feb 2012

    Posted 21 Jun 2013 Link to this post

    Thanks  your solution worked...wraping the filterdropdowncontrol with stackpanel did the magic..
Back to Top
UI for WPF is Visual Studio 2017 Ready