radschedule: showing location information

2 posts, 0 answers
  1. ukung
    ukung avatar
    10 posts
    Member since:
    Sep 2007

    Posted 03 Sep 2007 Link to this post

    in current radschedule component control the information showing in control just subject/description, how to showing another information eg. the location information? just like the ms. outlook calendar.

  2. T. Tsonev
    T. Tsonev avatar
    2794 posts

    Posted 04 Sep 2007 Link to this post

    Hi Ukung,

    We have introduced support for templates in the preview refresh which was released last week. Using the templates you can control the appearance of the appointments and the inline edit and insert forms.

    You can customize the data of your appointments, beyond the standard fields, using attributes and resources.

    In the current version, every column that your data source retrieves and is not recognized by RadScheduler is stored as an attribute to the corresponding appointment. You can access it by its name in the Bind and Eval data binding expressions. In the future versions the attributes will be defined explicitly by a property.

    For example, lets assume that your data source returns a column named Location, we can define the appointment template in a similar way:

    <RadScheduler ...>
        <%# Eval("Subject") %> 
        <%# Eval("Location") %> 

    Using this template, RadScheduler will list the subject (title) and location of each appointment.

    We have also prepared an example that demonstrates a more complicated scenario using templates. You can see it here.

    All the best,
    Tsvetomir Tsonev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top