[CLOSED] How to set Max Year for DateField

  1. #1

    [CLOSED] How to set Max Year for DateField

    Hi all,

    how to set the Max year for DateField ..means for Datefield i can Select the Max year as 2015 like that..if the user Select Year more than 2015 it will get Disabled..

    Thanks In Advance...
    Last edited by geoffrey.mcgill; Feb 09, 2011 at 5:11 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please use MaxDate.
    <ext:DateField runat="server" MaxDate="2015/12/31" />
    If you need to disable years in MonthPicker plugin, please see
    http://forums.ext.net/showthread.php?10751

Similar Threads

  1. [CLOSED] show only month and year in datepicker
    By FpNetWorth in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jul 05, 2012, 10:46 AM
  2. Custom paging (by year)
    By PetrSnobelt in forum 1.x Help
    Replies: 0
    Last Post: Jun 27, 2011, 8:17 AM
  3. [CLOSED] DataField - display Month/year
    By rnfigueira in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 24, 2011, 6:45 PM
  4. [CLOSED] DatePicker for year
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 13, 2011, 9:11 AM
  5. How to accept only month & year in a DateField Control ?
    By n_s_adhikari@rediffmail.com in forum 1.x Help
    Replies: 2
    Last Post: Sep 23, 2009, 4:45 PM

Posting Permissions