[CLOSED] Question about Button Event Control

  1. #1

    [CLOSED] Question about Button Event Control

    I have a question abotu Image button Click Control.
    I have a image button and want to make it impossible to click when it is clicked one time.
    So, it should be able to click only 1 time.

    Could you please advise to me how to make it possible ?
    It will be great I can control it with JS or Ext.Net side.

    Thanks
    Last edited by Daniil; Mar 26, 2012 at 9:48 PM. Reason: [CLOSED]
  2. #2
    Hi,

    On the Listener and DirectEvent configuration, you can set Single="true". This will cause the event to be fired only once.

    Example

    <ext:ImageButton runat="server" ImageUrl="...">
        <DirectEvents>
            <Click Single="true" OnEvent="ImageButton1_Click" />
        </DirectEvents>
    </ext:ImageButton>
    Hope this helps.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] question about click event
    By rosua in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 22, 2012, 7:07 AM
  2. A question about Event
    By 罗纳德刚 in forum 1.x Help
    Replies: 3
    Last Post: Feb 13, 2012, 1:57 PM
  3. Replies: 1
    Last Post: Dec 27, 2011, 1:47 PM
  4. Button Question
    By bruce in forum 1.x Help
    Replies: 0
    Last Post: Nov 19, 2008, 10:02 PM
  5. ASP.NET MVC Button Click question
    By Casbah in forum 1.x Help
    Replies: 0
    Last Post: Nov 19, 2008, 9:37 AM

Posting Permissions