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

Change BackColor of Cell in Month View

1 Answer 50 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 17 Dec 2019, 02:49 PM

Hi,

 

i changed the BackColor of "SchedulerCell" in RadScheduler to White.

In Day and Week View it works, but in the Month View it donĀ“t work, and it is alwasy grey.

I searched for Month States but i found nothing.

Please help.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 18 Dec 2019, 11:59 AM

 

Hello, Martin,     

According to the provided information, it is not clear how exactly you are trying to customize the month cells. However, I suppose that you are handling the CellFormatting event and setting the CellElement.BackColor property to White. This seems to work as expected on my end with the ControlDefault theme:

Please make sure that the DrawFill property for the CellElement is set to true

        public RadForm1()
        {
            InitializeComponent();

            this.radScheduler1.CellFormatting+=radScheduler1_CellFormatting;
            this.radScheduler1.ActiveViewType = SchedulerViewType.Month;
        }

        private void radScheduler1_CellFormatting(object sender, SchedulerCellEventArgs e)
        {
            e.CellElement.BackColor = Color.White;
            e.CellElement.DrawFill = true;
            e.CellElement.GradientStyle = GradientStyles.Solid;
        }

If you are still experiencing any further difficulties, it would be greatly appreciated if you can specify the exact steps how to reproduce the problem. Once we replicate the issue locally, we would be able to investigate the precise case and assist you further.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Scheduler and Reminder
Asked by
Martin
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or