Click the submit button to post the selected value in the DateRangePicker. When posting the null value, validation error message will be shown below the DateRangePicker.
This sample demonstrates the strongly typed extension support in DateRangePicker. Value is set as model object to the DateRangePicker from the code behind, and its set to DateRangePicker in view page by invoking the strongly typed DateRangePickerFor helper.
More information on the DateRangePicker instantiation can be found in the documentation section.