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

How to send datetimepicker value during grid ajax databinding

0 Answers 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jamy
Top achievements
Rank 1
Jamy asked on 20 Apr 2011, 11:13 PM
Is it possible to send the value of a datetimepicker to a controller during the grids ajax databinding process?

.DataBinding(databinding => databinding.Ajax()
                            .Select("SomeMethodOnContoller_Ajax", "Reports", new { startDate = "How to get datetimepicker current value here" }))

Basically if you are selecting records from the database by some date range using datetimepickers on your page, how do you then use ajax databinding and send the date range to the controller?
Tags
Grid
Asked by
Jamy
Top achievements
Rank 1
Share this question
or