Looking for samples....

  1. #1

    Looking for samples....

    I'm new here and I'm looking for samples for "Leave" events. I'm would like to trigger code for when I leave a TextField either by clicking a new field or by tabbing out of it. I've even done a search for jQuery events but I only found "MouseLeave" samples. Can someone direct me, if this is even an option? Thank you very much!
  2. #2
    Hello,

    Welcome to Ext.NET.

    Maybe the <Blur> event is what you're looking for...

    Example

    <ext:TextField runat="server" FieldLabel="Test">    <Listeners>
            <Blur Handler="alert(this.getValue());" />
        </Listeners>
    </ext:TextField>
    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    That does help. Thank you very much! Speaking of events, What is this difference between DirectEvents, DirectMethods and Listeners. From what I've read it looks like:
    • Listeners are client-side
    • DirectMethods are server-side
    • DirectEvents are client-side


    Is that the extent of it?

Similar Threads

  1. [CLOSED] Combination Samples v2.0 Issues
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Jul 18, 2012, 6:40 PM
  2. [FIXED] [2.0] Treeview on Samples V2
    By equiman in forum Bugs
    Replies: 4
    Last Post: Jul 04, 2012, 11:05 AM
  3. MVC Samples Source
    By t316 in forum 1.x Help
    Replies: 1
    Last Post: Jul 19, 2011, 12:13 PM
  4. [CLOSED] Question about one of the samples
    By jcanton in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 02, 2011, 3:13 PM
  5. Replies: 1
    Last Post: Jun 02, 2009, 8:24 AM

Tags for this Thread

Posting Permissions