[CLOSED] How to disable all dates before today.

  1. #1

    [CLOSED] How to disable all dates before today.

    Hi all,

    kindly i need to disable all dates before today on DatePicker field , can we achieve this and how.
    Last edited by Daniil; Jul 25, 2011 at 9:56 AM. Reason: [CLOSED]
  2. #2
    Hi,

    You can use the .minDate property.

    Example
    <ext:DatePicker runat="server">
        <Listeners>
            <BeforeRender Handler="this.minDate = (new Date()).clearTime();" />
        </Listeners>
    </ext:DatePicker>

Similar Threads

  1. How to disable dates in calendar
    By adrdomeniconi in forum 2.x Help
    Replies: 0
    Last Post: Apr 16, 2012, 12:55 PM
  2. [CLOSED] Disable specific dates and ranges in the DateField control
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 23, 2010, 6:56 PM
  3. Hi,When will the V1 release,Today is the end of Q1
    By fancycloud in forum Open Discussions
    Replies: 1
    Last Post: Mar 31, 2010, 2:36 PM
  4. [CLOSED] Remove the "Today" bar from the datefield
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 22, 2009, 9:14 AM
  5. Problem with disable dates, when using culture setting
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Feb 26, 2009, 10:25 AM

Tags for this Thread

Posting Permissions