Call js function when use clicks button

2 posts, 0 answers
  1. Jason
    Jason avatar
    5 posts
    Member since:
    Oct 2008

    Posted 31 Oct 2008 Link to this post

    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>
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 02 Nov 2008 Link to this post

    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.
Back to Top