Fit Appointment Template Text inside RadScheduler Appointment

3 posts, 0 answers
  1. Tofan
    Tofan avatar
    25 posts
    Member since:
    Jun 2010

    Posted 07 Feb 2014 Link to this post

    I have an Appointment that has a variable size(depending between the start date and end date). I also have some text that was displayed from my RadScheduler Appointment Template. I want to have my text to fit always each of my Appointments size. Can it be done and if so how? An example or some detail please, i'm not expert with RadScheduler. TIP_PROGRAMARE,TIP_APARATURA,TIP_STERILIZARE,NUME_ECHIPAMENT,NUME_OPERATIE is part of my RadScheduler CustomAttributeNames. Please help and thank you for your time and advice.

    My Appointment Template is:

                            <div style="font-style: italic; width: 100%">
                                <%# Eval("Subject") %></div>
                            <div style="font-style: italic; width: 100%;">
                                Tip Programare:
                                <%# Eval("TIP_PROGRAMARE")%></div>
                            <div style="font-style: italic; width: 100%">
                                Tip Sterilizare:
                                <%# Eval("TIP_STERILIZARE")%></div>
                            <div style="font-style: italic; width: 100%">
                                Tip Aparatura:
                                <%# Eval("TIP_APARATURA")%></div>
                            <div style="font-style: italic; width: 100%">
                                Tip Echipament/Sala:
                                <%# Eval("NUME_ECHIPAMENT")%></div>
                            <div style="font-style: italic; width: 100%">
                                <%# Eval("NUME_OPERATIE")%></div>
  2. Plamen
    Plamen avatar
    3056 posts

    Posted 12 Feb 2014 Link to this post


    Thank you for contacting Telerik support.

    Such behavior is supported in MonthView as for example it is described in this KB article. In the other views the appointment's height is calculated according to the RowHeight that is set to RadScheduler.

    Hope this will explain the issues. I you have further questions please don't hesitate to contact us again.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. Tofan
    Tofan avatar
    25 posts
    Member since:
    Jun 2010

    Posted 14 Feb 2014 in reply to Plamen Link to this post

    Thank you and will look into it.
Back to Top