Hi.
I have custom appointment class
And I have dialog Template
But when I open dialog I didn't see ant data in ListBox.
Debugger didn't show any bindings error but ListBox didn't show any data
I have custom appointment class
public
class
MyAppointment:Appointment
{
private
List<AppointmentOcurence> _appointmentInterval;
public
List<AppointmentOcurence> AppointmentInterval
{
get
{
return
this
.Storage<MyAppointment>()._appointmentInterval; }
set
{
var storage =
this
.Storage<MyAppointment>();
if
(storage._appointmentInterval != value)
{
storage._appointmentInterval = value;
this
.OnPropertyChanged(() =>
this
.AppointmentInterval);
}
}
}
....
}
And I have dialog Template
<
ControlTemplate
x:Key
=
"EditAppointmentTemplate"
TargetType
=
"telerik:SchedulerDialog"
>
..........................
<
telerik:RadListBox
Height
=
"300"
Grid.Row
=
"6"
Grid.Column
=
"0"
Grid.ColumnSpan
=
"3"
ItemsSource
=
"{Binding Occurrence.Appointment.AppointmentInterval, Mode=TwoWay}"
>
<
telerik:RadListBox.ItemTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding SchedulerName}"
/>
</
DataTemplate
>
</
telerik:RadListBox.ItemTemplate
>
</
telerik:RadListBox
................................
</ControlTemplate>
But when I open dialog I didn't see ant data in ListBox.
Debugger didn't show any bindings error but ListBox didn't show any data