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

Appointment content multiline

3 Answers 44 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ranjan
Top achievements
Rank 1
Ranjan asked on 07 Dec 2011, 03:36 PM
Hi All,
In my application I want that if appointment subject is very long then it do not go to next line but in same line '....' should appear in the last. How it will be possible?

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 09 Dec 2011, 12:21 PM
Hi Ranjan,

If you want to display long text for the appointment subject, I suggest you use RadToolTip.

Best wishes,
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
0
Ranjan
Top achievements
Rank 1
answered on 13 Dec 2011, 11:11 AM
Thanks Peter. I am using Rad tooltip for showing detail but on main scheduler i want do display dots so that user know that there is some extra information. You can see attached image. I just want like that.
0
Peter
Telerik team
answered on 13 Dec 2011, 04:08 PM
Hi Ranjan,

You can handle AppointmentDataBound and try something like this:
protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
   {
       if (e.Appointment.Subject.Length > 50)
       {
           e.Appointment.Subject = e.Appointment.Subject.Substring(0, 50) + "...";
       }
   }


Greetings,
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
Tags
Scheduler
Asked by
Ranjan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Ranjan
Top achievements
Rank 1
Share this question
or