Extended controls

  1. #1

    Extended controls

    Hi all,

    i'm trying to extend some controls of ext.net.
    Particularly i need to change backgroundcolor of textfield if allowblank is false.
    It's possible without change javascript of the control?
    If not, how can I proceed?

    Thanks
  2. #2
    hi, i had the same problem and solved with this solution

    <ext:TextField
    FieldLabel="Enter a value"
    AllowBlank="false"
    InvalidCls="custom-err"
    MsgTarget="Under"
    />
    And put a custom css custom-err

    .custom-err-field { background:#fdd; border-color:#a88; }

    Regards.

Similar Threads

  1. Replies: 12
    Last Post: Jul 02, 2013, 4:44 AM
  2. Replies: 1
    Last Post: Aug 05, 2011, 11:15 AM
  3. [CLOSED] Subclassed/extended DateField
    By daneel in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 28, 2011, 1:24 PM
  4. [CLOSED] [1.0] Extended Control Resources property called 3 times?
    By bsnezw in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 24, 2011, 7:16 PM
  5. Replies: 2
    Last Post: Dec 17, 2009, 2:32 PM

Posting Permissions