Validating GridDateTimeColumn

2 posts, 0 answers
  1. Christine McDaniel
    Christine  McDaniel avatar
    4 posts
    Member since:
    Nov 2007

    Posted 01 Oct 2009 Link to this post

    I need to validate a GridDateTimeColumn to check for future dates.  I need to validate another GridDateTimecolumn to validate dates that fall within a certain BeginDate and EndDate.  What is the best way to accomlish this.  I have been searching all over. Here is how my grid is set up:

    <

     

    telerik:GridDateTimeColumn

     

     

    DataField="LastVisitDate"

     

     

    PickerType="DatePicker"

     

     

    HeaderText="Date of Last Visit"

     

     

    UniqueName="LastVisitDate"

     

     

    DataType="System.DateTime"

     

     

    DataFormatString="{0:MM/dd/yyyy}">

     

     

    </telerik:GridDateTimeColumn>

    We are using RadControls For ASPNET AJAX Q2 2008.
    I would like to be able to do this on the client, however, will accept best method.

    Thanks you,
    Chris

     

  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 02 Oct 2009 Link to this post

    Hello Christine,

    I suggest you review the following links, which elaborates on this matter and let me know if they help:
    Adding a validator to an edit field in Telerik RadGrid
    How can I validate the controls

    Sincerely yours,
    Pavlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top