stop button double click

3 posts, 0 answers
  1. Stacy
    Stacy avatar
    98 posts
    Member since:
    Dec 2010

    Posted 28 Jul 2014 Link to this post

    I have a Rad Toolbar Button that, when clicked, opens a popup.  Is there a way to prevent a user from double clicking?  Currently I can double click the button and it will open two windows.  Thanks.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 28 Jul 2014 in reply to Stacy Link to this post

    Hi Stacy,

    Please have a look into the sample code snippet which works fine at my end. Please provide a sample code snippet or try to replicate the issue in the provided code for further help.

    <telerik:RadToolBar ID="RadToolBar1" runat="server" OnClientButtonClicked="openWindow">
            <telerik:RadToolBarButton Text="Click">
    <telerik:RadWindow ID="RadWindow1" runat="server">

    function openWindow(sender, args) {

  3. DevCraft R3 2016 release webinar banner
  4. Stacy
    Stacy avatar
    98 posts
    Member since:
    Dec 2010

    Posted 29 Jul 2014 in reply to Shinu Link to this post

    This wont work in  scenario as not all my toolbarbuttons open windows.  Here's the scenario:

    Create a toolbar with a bunch of buttons
    For 2 of those buttons, add an onclick function (each button routes thru global.asax to load proper popup page), other buttons use server side stuff.

    The many "workarounds" I've seen in this forum wont work because the "onClick" of the button occurs before the "onClientClicked" of the toolbar.

Back to Top