This is a migrated thread and some comments may be shown as answers.

how to use bingding property in the ScheduleView ConrolTemplate

1 Answer 20 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Yi
Top achievements
Rank 1
Yi asked on 16 Oct 2013, 12:22 PM
and i edit the ScheduleView ControlTemplate. 
IsReadOnly="{Binding IsReadOnly}"
                VerticalAlignment="Stretch"
                VerticalContentAlignment="Stretch"
                VerticalScrollBarVisibility="Visible"
                Text="{Binding Occurrence.Appointment.Body,ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}"

it's ok to binding Text property 
and could you tell me how can i use IsReadOnly Property?

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 17 Oct 2013, 07:51 AM
Hello Yi,

Thank you for contacting us.

The code you have provided is from the ControlTemplate of the EditAppointmentDialog. The Text property is bound to the Body of the Appointment and the IsReadOnly property is bound to the IsEnabled property of all the fields in the dialog. For more details about the Custom Dialogs you can check this article from our documentation. However I'm not sure if we understand correctly your question, could you please give us more details on the scenario you want to achieve so we can help you further?

I'm looking forward to hearing from you.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ScheduleView
Asked by
Yi
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or