This question is locked. New answers and comments are not allowed.
Hello all,
I have been working on this for a few days now with no evail.
I have a gridveiw that has 2 fields on it "begin" and "end". These fields are date types so when in edit mode the date picker is displayed.
I need to be able to limit the dates that the user can select in the date picker.
In the "begin" fields I need the user to be able to select date upto 30 days past and in the "end" field they can only select upto 90 in the future.
I don't know how to get to the date control, it is automatic?
Here is how my column is set up.
Thanks for any help or advice.
KS
I have been working on this for a few days now with no evail.
I have a gridveiw that has 2 fields on it "begin" and "end". These fields are date types so when in edit mode the date picker is displayed.
I need to be able to limit the dates that the user can select in the date picker.
In the "begin" fields I need the user to be able to select date upto 30 days past and in the "end" field they can only select upto 90 in the future.
I don't know how to get to the date control, it is automatic?
Here is how my column is set up.
<telerikGridView:GridViewDataColumn DataMemberBinding="{Binding BeginDate, Mode=TwoWay}" > <telerikGridView:GridViewDataColumn.Header> <StackPanel Orientation="Vertical"> <!-- This display the wording Date under Begin.--> <TextBlock Text="Begin" HorizontalAlignment="Left" /> <TextBlock Text="Date" HorizontalAlignment="Left" /> </StackPanel> </telerikGridView:GridViewDataColumn.Header> <telerikGridView:GridViewDataColumn.CellTemplate> <DataTemplate> <TextBlock Text="{Binding BeginDate, Converter={StaticResource DateTimeConverter}, ConverterParameter=d}"/> </DataTemplate> </telerikGridView:GridViewDataColumn.CellTemplate> </telerikGridView:GridViewDataColumn>Thanks for any help or advice.
KS