How can i do set TextField only lower case

  1. #1

    How can i do set TextField only lower case

    Hi all,

    How can i do set TextField only lower case character.
    So i knows ... Certainly its possible JavaScript (EXT JS) or a litte CSS but is there a ready function or a ready setable area (setable attribute) in EXT.NET?

    Thanks.
  2. #2
    I don't think there is a specific property to convert the value to lowercase, but you can easily manipulate the value by tapping into one of the <Listeners>.

    The following sample demonstrates how to automatically convert the value .toLowerCase() on a KeyUp event.

    Example

    <ext:TextField runat="server" EnableKeyEvents="true">    <Listeners>
            <KeyUp Handler="this.setValue(this.getValue().toLowerCase());" />
        </Listeners>
    </ext:TextField>
    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    Dear @geoffrey.mcgill thanks for yours help.
    I will try it.

Similar Threads

  1. [CLOSED] Need ability to search combobox items by lower case or upper case
    By wisdomchuck in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 23, 2012, 1:40 PM
  2. [CLOSED] Modal Window Problem with lower Resolutions
    By webppl in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Jan 28, 2011, 10:09 AM
  3. How can i sort without case sensitivity
    By NishaLijo in forum 1.x Help
    Replies: 2
    Last Post: Aug 19, 2010, 10:44 AM
  4. Replies: 4
    Last Post: Jun 09, 2010, 8:33 PM
  5. grid sorting case sensitive?
    By [WP]joju in forum 1.x Help
    Replies: 2
    Last Post: Sep 22, 2009, 6:15 AM

Tags for this Thread

Posting Permissions