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

Call js function when use clicks button

1 Answer 54 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 31 Oct 2008, 01:50 PM
How can I call a javascript confirm when the user clicks the button?
Something similiar to OnClientClick
 
               <rad:RadToolBarButton Font-Size="11px" Text="Delete" CommandName="DeleteCompany">
                </rad:RadToolBarButton>

1 Answer, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 02 Nov 2008, 03:06 PM
Hi Jason,

You should use the OnClientButtonClicking client-event of RadToolBar. Please, check the OnClientButtonClicking help article.

I hope this helps.

Kind regards,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ToolBar
Asked by
Jason
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Share this question
or