CellClick Event Issue On MonthView

2 posts, 1 answers
  1. Sahand
    Sahand avatar
    7 posts
    Member since:
    Dec 2011

    Posted 16 Mar 2012 Link to this post

    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
       }
    }
  2. Answer
    Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 21 Mar 2012 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top