Hi,
I have an mvc4 project with entity framework 4.1 and a data model with a timespan, which I need to bind to a grid and update, via Ajax, using a time picker in an editor template, in grid popup edit mode.
I can format the timespan to display correctly on read, but on edit I just cannot work out the right pattern. I understand the issue is due to how Json deals with timespans. This seems to be an issue which is causing a few some big headaches, so I would like to ask for a recommended pattern for binding to a timespan and a code example please.
Thanks
Rich
I have an mvc4 project with entity framework 4.1 and a data model with a timespan, which I need to bind to a grid and update, via Ajax, using a time picker in an editor template, in grid popup edit mode.
I can format the timespan to display correctly on read, but on edit I just cannot work out the right pattern. I understand the issue is due to how Json deals with timespans. This seems to be an issue which is causing a few some big headaches, so I would like to ask for a recommended pattern for binding to a timespan and a code example please.
Thanks
Rich