This is a migrated thread and some comments may be shown as answers.

Time picker data type validation

3 Answers 83 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 29 Apr 2011, 04:36 PM
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?
Regards. 

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 04 May 2011, 04:18 PM
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.

Regards,
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.

0
parimi
Top achievements
Rank 1
answered on 02 Sep 2016, 11:18 AM

hii

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

0
Konstantin Dikov
Telerik team
answered on 07 Sep 2016, 05:29 AM
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.


Regards,
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.
Tags
Calendar
Asked by
John
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
parimi
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or