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

[Solved] how to prevent radtoolbar from postback?

1 Answer 329 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Andreas Kaech
Top achievements
Rank 1
Andreas Kaech asked on 10 Jun 2008, 09:50 AM
Hi,
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,
Andreas

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 10 Jun 2008, 10:14 AM
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.

Greetings,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolBar
Asked by
Andreas Kaech
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or