Prevent postback when clicking search

2 posts, 0 answers
  1. Eric
    Eric avatar
    16 posts
    Member since:
    Feb 2013

    Posted 02 Jul 2013 Link to this post

    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.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 Jul 2013 Link to this post

    Hi Eric,

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

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top