Hi.
I have two RadDatePickers, one for datestart and one for dateend, each is databound on the selecteddate property to a datetime variable. This works as it should, but since I do not want the user to be able to select a startdate that is greater then the enddate, and vica verca, I have databound the SelectableDateEnd and SelectableDateStart to the opposite variables. This works fine for the SelectableDateStart property, but doesn't seem to work on the SelectableDateEnd. Can you check and verify if this is a bug or not? It works fine on initiation, but not when the datatype is changed, so it doesn't seem to pick up the PropertyChangedEvent fireing.
I have also checked that the PropertyChengedEvent is firing on the change of the DateEnd property, and it does.
Thanx in advance.
- Odd
Code:
I have two RadDatePickers, one for datestart and one for dateend, each is databound on the selecteddate property to a datetime variable. This works as it should, but since I do not want the user to be able to select a startdate that is greater then the enddate, and vica verca, I have databound the SelectableDateEnd and SelectableDateStart to the opposite variables. This works fine for the SelectableDateStart property, but doesn't seem to work on the SelectableDateEnd. Can you check and verify if this is a bug or not? It works fine on initiation, but not when the datatype is changed, so it doesn't seem to pick up the PropertyChangedEvent fireing.
I have also checked that the PropertyChengedEvent is firing on the change of the DateEnd property, and it does.
Thanx in advance.
- Odd
Code:
<telerikInput:RadDatePicker x:Name="startDate" Width="150"
SelectedDate="{Binding InvoiceSearch.DateStart, Mode=TwoWay}"
SelectableDateEnd="{Binding InvoiceSearch.DateEnd, Mode=TwoWay}"></telerikInput:RadDatePicker>
<telerikInput:RadDatePicker x:Name="endDate" Width="150"
SelectedDate="{Binding InvoiceSearch.DateEnd, Mode=TwoWay}"
SelectableDateStart="{Binding InvoiceSearch.DateStart, Mode=TwoWay}"></telerikInput:RadDatePicker>