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

Is there any function like DateTime.AddDays?

4 Answers 50 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dominic
Top achievements
Rank 1
Dominic asked on 22 May 2012, 07:08 AM
Hello,

is there a simple way to increase or decrease the date like the AddDay method in System.DateTime? I want to add a next and a previous button to set the corresponding date.

Regards

4 Answers, 1 is accepted

Sort by
0
Dominic
Top achievements
Rank 1
answered on 22 May 2012, 10:01 AM
Hello,

i have found a way to do this. But if i trigger the change event e.value is always undefined. How can i obtain the current value? Please look at the attached sample project.

Regards
0
Dominic
Top achievements
Rank 1
answered on 23 May 2012, 09:56 AM
Is this a bug or a feature?
0
Dominic
Top achievements
Rank 1
answered on 05 Jun 2012, 07:41 AM
Hello Telerik???

Can anyone confirm this as bug?
0
Atanas Korchev
Telerik team
answered on 05 Jun 2012, 07:53 AM

Hi,

 Telerik does not guarantee replies to forum posts. If you need to contact Telerik support staff please submit a support ticket instead.

 You can use the value method to set the value of a DatePicker.

Regards,
Atanas Korchev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Date/Time Pickers
Asked by
Dominic
Top achievements
Rank 1
Answers by
Dominic
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or