how to prevent radtoolbar from postback?

2 posts, 0 answers
  1. Andreas Kaech
    Andreas Kaech avatar
    121 posts
    Member since:
    Sep 2004

    Posted 10 Jun 2008 Link to this post

    in the previous RadToolBar (without AJAX), I prevented from PostBack with "return false" in the Javascript function. Now it seems that this is not working anymore. What to do?

    Thanks for answering,
  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 10 Jun 2008 Link to this post

    Hello Andreas Kaech,

    In all RadControls for ASP.NET AJAX, the *ing events (e.g. OnClientButtonClicking) can be cancelled by calling the set_cancel(true) method of the eventArgs parameter (the second parameter of the javascript handler):

    I believe that this link will help you:
    Client-Side Programming > OnClientButtonClicking

    I hope this helps.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top