Time picker data type validation

4 posts, 0 answers
  1. John
    John avatar
    1 posts
    Member since:
    Apr 2011

    Posted 29 Apr 2011 Link to this post

    Hi, I am using a Time picker in my web form. The time selected is bounded  with a column in the back-end database of the data type time.

    When the comparison between the time selected from web app and the column of the data type time in the database, the web app gives me an error indicating that "The data types time and datetime are incompatible". I have noticed that time picker has a data type of date and time together which is making this problem.

    any solution for that?
  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 04 May 2011 Link to this post

    Hi John,

    I tried to replicate the describe issue locally but to no avail. Please find attached a sample runnable application which shows the correct functionality of such scenarios. Let me know if I'm missing something.

    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
  4. parimi
    parimi avatar
    1 posts
    Member since:
    Sep 2016

    Posted 02 Sep Link to this post


    i need time picker validation.it does not accept past time.

    eg:now time is 4:46 pm 09/02/2016 it does not accept 4:00 pm 09/02/2016...

    plz reply me

  5. Konstantin Dikov
    Konstantin Dikov avatar
    1744 posts

    Posted 07 Sep Link to this post

    Hi Parimi,

    Can you please provide some additional information on your scenario and the configuration of your time picker? By default, there is no such built-in validation for the today's date, so the issue is most likely related with the configuration of the control.

    Looking forward to you reply.

    Konstantin Dikov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top