Different form of horizontal Appointment

3 posts, 0 answers
  1. Lucie
    Lucie avatar
    28 posts
    Member since:
    Jun 2011

    Posted 21 Feb 2012 Link to this post

    I have displayed Subject and on next line Body in vertical Appointment.

    I need to display Body on the same line after Subject for AllDay Appointments in AllDayArea and also in MonthView and TimeLineView for Appointment which last one and more days.

    E.g. there is enough space to display information on one line.

     

    Is it possible and how? (In examples are showed changes only for background color.)

     

    Regards

  2. Lucie
    Lucie avatar
    28 posts
    Member since:
    Jun 2011

    Posted 22 Feb 2012 Link to this post

    I have tried to find something about using AppointmentItemContentTemplateSelector but not success.
    Is there something in documentation or is there live sample code?

    Regards
  3. DevCraft banner
  4. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 24 Feb 2012 Link to this post

    Hi Jana,

    This is correct - you should use AppointmentItemContentTemplateSelector  - in SelectTemplate method you can set different template for different ViewDefinitions. I've attached an example to demonstrate the approach.

    Hope this helps.

    Greetings,
    Yana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top