Unplanned
Last Updated: 09 Nov 2024 17:34 by ADMIN
Todd
Created on: 09 Nov 2024 17:08
Category: Calendar
Type: Bug Report
0
RadCalendar: Visual selection highlight remains on a cell when clicking and holding on one cell, then releasing on a different cell
Visual selection highlight remains on a cell when clicking and holding on one cell, then releasing on a different cell.
1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 09 Nov 2024 17:34

Hi Todd,

Thank you for reporting this behavior. As a workaround, we can reset the IsMouseDown property of the calendar cell in the ElementRender event handler:

private void radCalendar1_ElementRender(object sender, RenderElementEventArgs e)
{
    var mousePosition = radCalendar1.PointToClient(Control.MousePosition);
    if (e.Element != radCalendar1.ElementTree.GetElementAtPoint(mousePosition))
    {
        e.Element.IsMouseDown = false;
    }
}

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.