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

Show and hide radsearchbox button.

1 Answer 193 Views
SearchBox
This is a migrated thread and some comments may be shown as answers.
Vishnu
Top achievements
Rank 1
Vishnu asked on 27 Jun 2014, 06:51 AM
Hi,

I have a RadSearchBox in my form as shown in the attachment. Initially when the RadSearchBox is empty I want to hide the cross image button. When the user enter some search text and click the Search button (lens image) the RadSearchBox1_Search event will fire where I am filtering a radgrid and that time I want to hide the Search button and show the cross image button.
On Clicking the Cross image button the RadSearchBox1_ButtonCommand event will fire where I am clearing the grid filter and then I want to hide the cross image button and show the Search Button.

Is it possible to selectively hide and show the buttons inside RadSearchBox?

Thanks,
Vishnu.

1 Answer, 1 is accepted

Sort by
0
Accepted
Nencho
Telerik team
answered on 02 Jul 2014, 07:25 AM
Hello Vishnu,

I have prepared a sample page for you, demonstrating a possible approach for achieving the desired functionality. You can find it attached.

Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
SearchBox
Asked by
Vishnu
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or