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

How to add new 'X' Close button in the upper right corner in the customized default Filter Control

2 Answers 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Apparao
Top achievements
Rank 1
Apparao asked on 17 Oct 2011, 02:45 PM
Hi telerik team,

My requirement is to add new 'X' Close button in the upper right corner at the default Filtering popup Control?

I have verified so many blogs to to find the issue. But no use.

I have verified in the below blug. But it is speicific to close filtering popup when user click the Filter Button.
http://blogs.telerik.com/blogs/posts/10-01-22/how_to_customize_radgridview_s_default_filtering_control_with_attached_behaviors_silverlight_amp_wpf.aspx

Please help how to customize the existing default filter control for adding new 'X' Close button in the upper right corner in the Filter Control?

is it possible to add new button 'X' Close control in the default filter control?

Thanks,
Apparao.P

2 Answers, 1 is accepted

Sort by
0
Chirag
Top achievements
Rank 1
answered on 22 Mar 2012, 12:09 PM
Hi Apparao 

Have you solve a close button issue in custom filter control 

Please provide some idea for that 
i am also face same kind of problem and post in telerik site but still not gating any solution if you have  please reply in your question or my question. 
My question link = http://www.telerik.com/community/forums/silverlight/gridview/close-custom-filter-control.aspx
0
Chirag
Top achievements
Rank 1
answered on 10 May 2012, 01:54 PM
hello 
i think this code can help you 
private void btnclose_Click(object sender, RoutedEventArgs e)
        {
            FilteringDropDown down = Telerik.Windows.Controls.UIElementExtensions.ParentOfType<FilteringDropDown>(this);
            if (down != null)
            {
                down.IsDropDownOpen = false;
            }
        }
Tags
GridView
Asked by
Apparao
Top achievements
Rank 1
Answers by
Chirag
Top achievements
Rank 1
Share this question
or