I am using a RadScheduler only in MonthView to display appointments only (no editing functions at all).
I also have done a CSS change to highlight today.
The problem is that when the user hovers over days they are highlighted and if they click on a day it stays highlighted. This serves no purpose when there is no editing or other views.
How can I disable the hover and selection?
I tried overriding CSS but only managed to remove the hover on the day but not the day header.
I also have done a CSS change to highlight today.
The problem is that when the user hovers over days they are highlighted and if they click on a day it stays highlighted. This serves no purpose when there is no editing or other views.
How can I disable the hover and selection?
I tried overriding CSS but only managed to remove the hover on the day but not the day header.
7 Answers, 1 is accepted
0
Hi,
Plamen
the Telerik team
You can set the NumberOfHoveredRows="0" property of RadScheduler.
hope this will help you.
Plamen
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
Janice South
Top achievements
Rank 1
answered on 18 Feb 2013, 02:37 AM
Perfect. Thank you.
0
John
Top achievements
Rank 1
answered on 18 Feb 2013, 03:09 AM
Yes that works well for hover, but is there a way of stopping selection too?
0
Hi John,
Hope this will be helpful.
Kind regards,
Plamen
the Telerik team
If you want to stop the selection I will recommend you to override the styles caused by the rsSelectedSlot
as it is done for example in the code below:
td.rsSelectedSlot {
background
:
none
!important
;
border-color
:
#E8EAEC
!important
;
}
.rsSelectedSlot, .rsMonthView .rsSelectedSlot {
background
:
none
!important
;
border-color
:
none
!important
;
}
Hope this will be helpful.
Kind regards,
Plamen
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
John
Top achievements
Rank 1
answered on 26 Feb 2013, 10:21 PM
That works well, except that I have today's date highlighted, and if you click on today it clears the highlight.
Though it is not a major problem.
Thank you for your help.
Though it is not a major problem.
Thank you for your help.
0
Terrance
Top achievements
Rank 1
answered on 03 May 2013, 11:59 PM
Where is the Hover Property? I would like to bind some database data to appoints as I hover them. Is there any documentation on that?
0
Hi Terrance,
Hope this will be helpful.
Kind regards,
Plamen
the Telerik team
You can set custom classes to the appointment in the AppointmentDataBound event as explained in this help topic in the Using custom background image section. Here is the CSS that you need to add to set different hover rules:
.RadScheduler .MyCustomAppointmentStyle .rsAptContent:hover,
.RadScheduler .MyCustomAppointmentStyle .rsAptMid .rsAptIn:hover,
.RadScheduler .MyCustomAppointmentStyle .rsAptMid:hover {
background
: Red;
}
Hope this will be helpful.
Kind regards,
Plamen
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.