How to call coolite button click event from normal asp textbox enter key

  1. #1

    How to call coolite button click event from normal asp textbox enter key

    Hi,
    In my application i used one asp textbox and coolite button.
    my question is how do i call button event when i hit enter key for asp textbox
  2. #2
    Hi,

    Please use SpecialKey listener to catch Enter key and .fireEvent() to fire 'click' event.
    if (e.getKey() === e.ENTER) {
        ButtonClientId.fireEvent('click');
    }

Similar Threads

  1. Replies: 6
    Last Post: Dec 14, 2011, 5:24 AM
  2. Enter Click for normal asp textbox
    By Nagaraju in forum 1.x Help
    Replies: 1
    Last Post: May 17, 2011, 3:36 PM
  3. Replies: 2
    Last Post: Dec 03, 2010, 8:02 AM
  4. Replies: 4
    Last Post: Nov 19, 2010, 1:39 PM
  5. [CLOSED] Make enter key activate button click direct event
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 15, 2010, 6:02 PM

Tags for this Thread

Posting Permissions