This is a migrated thread and some comments may be shown as answers.

scheduler appointment text

3 Answers 191 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rajendra
Top achievements
Rank 1
Rajendra asked on 19 Oct 2012, 03:31 PM
I have some appointments and displaying in scheduler control. If the subject text is only two words its fine since it displays in one line but if the subject is long it goes to second line or third line but I can see only the first line. I want to expand the background rectangle as it expands the subject.

3 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 22 Oct 2012, 04:36 AM
Hi Rajendra,

Try the following CSS to achieve your scenario.

CSS:
<style type="text/css">
    .RadScheduler .rsMonthView .rsWrap, .RadScheduler .rsMonthView .rsApt, .RadScheduler .rsMonthView .rsAptOut, .RadScheduler .rsMonthView .rsAptIn, .RadScheduler .rsMonthView .rsAptMid, .RadScheduler .rsMonthView .rsAptContent
    {
        position: static !important;
        height: auto !important;
    }
    .RadScheduler .rsMonthView .rsWrap
    {
        overflow: hidden;
        font-size: 0;
        line-height: 0;
    }
    .RadScheduler .rsMonthView .rsLastWrap
    {
        height: 16px !important;
    }
    .RadScheduler .rsMonthView .rsAptContent
    {
        position: relative !important;
        border-top: 0;
        border-bottom: 0;
        left: 0;
        top: 0;
    }
    * html .RadScheduler .rsMonthView .rsAptIn
    {
        border-width: 0 1px;
        top: 0;
        margin-left: -1px;
        margin-right: -1px;
    }
    * html .RadScheduler .rsMonthView .rsAptMid
    {
        top: 0;
        left: 1px;
        margin: 0 1px;
        border-width: 1px 0;
    }
</style>

Please take a look into this for more information.

Regards,
Princy.
0
Rajendra
Top achievements
Rank 1
answered on 22 Oct 2012, 02:12 PM
This solves my problem. Thank you so much. I found there is now small issue. After this css, the right side border of an appointment is not visible. It might be due to one line subject appointment. The appointments displaying in two lines are good and displaing all sides for rectangular border. Is there any changes we need to do for this issue.
thanks

Oh.. this happened in multi-day appointment and there is limitation. Is there anyway to do it for multi day?

Thanks
0
Boyan Dimitrov
Telerik team
answered on 25 Oct 2012, 07:25 AM
Hello Rajendra,

This workaround comes with this limitation and unfortunately  there is no way to avoid this appearance issue for multi-day appointments in  the RadScheduler MonthView.

I apologize for any inconveniences.

Regards,
Boyan Dimitrov
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.
Tags
Scheduler
Asked by
Rajendra
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Rajendra
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or