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

CellClick Event Issue On MonthView

1 Answer 88 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Sahand
Top achievements
Rank 1
Sahand asked on 16 Mar 2012, 09:54 PM
Reporting what I think might be a bug.
When using a RadScheduler (2011 Q3) in MonthView, CellClick event of RadScheduler does not fire when a cell (corresponding to a day in monthview) is clicked. It fires only when the smaller day header is clicked.
One can overcome this issue by using RadScheduler MouseClick event like this:
private void radScheduler1_MouseClick(object sender, MouseEventArgs e)
{
   if (radScheduler1.FocusedElement is MonthCellElement)
   {
       //Do Stuff
   }
}

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Todorov
Telerik team
answered on 21 Mar 2012, 02:18 PM
Hello Sahand,

Thank you for writing.

I confirm that this is an issue in RadScheduler. I have logged it to PITS and we will address it in a future release. Here you can find the PITS item. For the time being you can also use the CellElementMouseDown event as an alternative:

void radScheduler1_CellElementMouseDown(object sender, MouseEventArgs e)
{
    // (sender as MonthCellElement)
}

Your Telerik points have been updated.

Regards,
Ivan Todorov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Scheduler and Reminder
Asked by
Sahand
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or