how to use bingding property in the ScheduleView ConrolTemplate

2 posts, 0 answers
  1. Yi
    Yi avatar
    15 posts
    Member since:
    Jul 2013

    Posted 16 Oct 2013 Link to this post

    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?
  2. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 17 Oct 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top