Appointment Size in Month View

8 posts, 0 answers
  1. Libertas Technologies
    Libertas Technologies avatar
    4 posts
    Member since:
    Jun 2009

    Posted 13 Nov 2009 Link to this post

    I know this topic has come up in a variety of ways, but is there a setting, or a hack to set the height of an appointment to "auto" where it will be big enough to display content specified for an appointment.

    I know there is a RowHeight property that can be adjusted to show this, but that's still somewhat sloppy because there is no way of knowing the "biggest" appointment. When using an appointment template below, appointments with a short subject, will become quite large. And there may be a case where an appointment is created with a title that is longer than what is accounted for using the RowHeight property.

            <AppointmentTemplate> 
                    <asp:HyperLink ID="hlSubject" runat="server" /><br /> 
                    <div><%#CDate(Eval("Start")).ToShortTimeString()%></div>  
            </AppointmentTemplate> 

    The rendering of the control with that template is attached.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 16 Nov 2009 Link to this post

    Hello Todd,

    There is a workaround you can try, but it may malfunction for certain cases:
    .RadScheduler .rsMonthView .rsWrap,    
            .RadScheduler .rsMonthView .rsAptOut,    
            .RadScheduler .rsMonthView .rsAptMid,    
            .RadScheduler .rsMonthView .rsApt   
            {    
            height: auto !important;    
            }   
        
            .RadScheduler .rsMonthView .rsAptIn,   
            .RadScheduler .rsMonthView .rsAptContent   
            {   
            height: 100% !important;   
            }   
        
            .RadScheduler .rsMonthView .rsApt    
            {    
            position: static !important;    
            }  



    Best wishes,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. George Belardo
    George Belardo avatar
    4 posts
    Member since:
    Feb 2010

    Posted 12 Mar 2010 Link to this post

    Peter:
    I used your suggestion and it was working great until I installed the Q1 2010 dll.
    Now, each appointment takes up the entire height of the cell in the month view.
    Even in cells where there is more than one appointment, I only see one appointment since it fills up the day's cell.
    Any ideas?

    Thanks,
    George
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 17 Mar 2010 Link to this post

    Hello George,

    The good news is that we have just prepared a kb article for this case:

    http://www.telerik.com/support/kb/aspnet-ajax/scheduler/auto-expand-the-height-of-the-appointment.aspx

    Let me know if you have further questions.


    Cheers,
    Peter
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  6. George Belardo
    George Belardo avatar
    4 posts
    Member since:
    Feb 2010

    Posted 17 Mar 2010 Link to this post

    The fix works great, but I'm having a slight problem with words getting cut off.  As you can see in the attached screenshot, in several cases (e.g., on the 15th, 17th and 19th) , the words in the appointment get cut off instead of automatically starting a new line before or after a word.  Any suggestions?
  7. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 17 Mar 2010 Link to this post

    Hello George,

    This problem will occur only in IE6. Unfortunately, it cannot be avoided for this browser. Let us know if notice any problems with other browsers.

    Cheers,
    Peter
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  8. Anup
    Anup avatar
    13 posts
    Member since:
    Aug 2011

    Posted 16 Apr 2012 Link to this post

    Hi!
    Have yo done! this in wpf...

    may i know for wpf how can it be possible

    Thank you...
  9. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 16 Apr 2012 Link to this post

    Hi Anup,

    Please, post your query in the RadScheduler for WPF forum.

    Kind regards,
    Peter
    the Telerik team
    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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017