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

Binding to a TimeSpan object

1 Answer 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Val
Top achievements
Rank 1
Val asked on 13 Nov 2008, 12:42 PM
Is there a way to two way data bind (<%# Bind%>) a TimeSpan object in a grid?

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 18 Nov 2008, 06:59 AM
Hi Val,

One possible approach in this case would be to use two dateTimePickers in a template column. Each picker can be bound to a separate field, thus defining a time span - the user can then select the initial and end date and time.

Best wishes,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Val
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or