I want to fire both client side and server side events on RadToolBarButton Click.Iam trying to achieve this with onbuttonclick and OnClientButtonClicked events. Is it possible?
Ragu
3 Answers, 1 is accepted
0
Erjan Gavalji
Telerik team
answered on 24 Jul 2008, 02:11 PM
Hi Ragupathi,
Yes, this is possible. The OnClientButtonClicked property should have the name of a client-side JavaScript event handler assigned, while the OnButtonClick event should get a RadToolBarEventHandler delegate.
Please try to set the CommandName for the RadToolBarButton and access it in the OnButtonClick event of RadToolBar and write the code based on the condition as follows.