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

Prevent postback when clicking search

1 Answer 69 Views
SearchBox
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 02 Jul 2013, 04:09 PM
Hi, I'm trying to execute a client script when the search button is clicked, and I found the "OnClientSearch" event, but... I cannot find a way to prevent the postback from occurring. How do I prevent postback when I click the search button? It seems like it should be obvious, but I just can't find it.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Jul 2013, 12:44 PM
Hi Eric,

Please have a look at this forum thread which deals with a similar scenario.

Thanks,
Shinu.
Tags
SearchBox
Asked by
Eric
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or