[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 8: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, 11:55 AM
  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, 5: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, 1: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, 8: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, 9:25 AM

Tags for this Thread

Posting Permissions