I've a one dropdown(out of scheduleview) for localization and in that dropdown there are different languages option available.
I've made one AppointmentTemplate which is like below:
<
DataTemplate
x:Key
=
"AppointmentTemplate"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
TextBlock
Grid.Row
=
"0"
Text
=
"{Binding Appointment.Resources[1].ResourceName}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
FontSize
=
"13"
Foreground
=
"Black"
FontWeight
=
"Bold"
/>
<
TextBlock
Grid.Row
=
"1"
Text
=
"{Binding Appointment.Subject}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
FontSize
=
"9"
Foreground
=
"Black"
FontWeight
=
"Bold"
/>
<
TextBlock
Grid.Row
=
"2"
Text
=
"{Binding Appointment.Body}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
FontSize
=
"9"
Foreground
=
"Black"
FontWeight
=
"Bold"
/>
<
TextBlock
Grid.Row
=
"3"
Text
=
"{Binding Appointment.Start}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
FontSize
=
"9"
Foreground
=
"Black"
FontWeight
=
"Bold"
/>
</
Grid
>
</
DataTemplate
>
Now i assign this template in RadScheduleview like below:
AppointmentItemContentTemplate="{StaticResource AppointmentTemplate}"
My problem is like, whenever i change language from my dropdown, appointment item template works strange way.
Like there is 5 language ,i randomly change language(spanish,french,turkis etc.), and appointment template items getting hidden means some shows up(resourcename only), some gone(subject,body etc.) , sometimes it shows all items in appointment template, sometimes for the same option(like spanish or turkish etc.), few items gone. sometimes for some apointments(random in current view), appointment template shows up all items, for some appointments, some items gone.
I mean to say, appointment template is working partially, not seamlessly.
kindly check, if you need, i'll give u sample.
thanks & regards