I have a toggle button that shows/hides the search row. However, I need to capture the close event of the search row so I can change the toggle button state. This is needed because the user can click the X to close the search row. Or, can I hide the X button?
Thanks!
1 Answer, 1 is accepted
0
Dimitar
Telerik team
answered on 23 Jan 2017, 11:56 AM
Hi Jason,
Thank you for writing.
To determine when the search row is hidden/shown you should use the PropertyChanged event. The following example shows how you can use this event. It shows how you can hide the close button as well:
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
var searchRow = radGridView1.MasterView.TableSearchRow as GridViewSearchRowInfo;