RadWizard control issue

1 Answer 30 Views
Wizard
Chase
Top achievements
Rank 1
Chase asked on 23 Oct 2023, 06:12 PM
I have a RadWizard control in my project and I set the BackColor property to a custom color. Whenever I make any changes to the code in the cs file of the RadWizard the BackColor property resets to white. Is there some reason this may be occurring or is this a bug?

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Oct 2023, 12:57 PM

Hi, Chase,

According to the provided information, it is not clear whether the BackColor property is set in the designer or programmatically. Could you please specify that?

I have tested setting programmatically the BackColor for each wizard page and it seems to work as expected on my end as it is illustrated in the below gif file:

        public RadForm1()
        {
            InitializeComponent();

            this.wizardWelcomePage1.BackColor = Color.Red;
            this.wizardPage1.BackColor = Color.Yellow;
            this.wizardCompletionPage1.BackColor = Color.Aqua;
        }

Am I missing something?

It would be greatly appreciated if you can provide a screenshot of the exact goal that you are trying to achieve. Thus, we would be able to get better understanding of the precise case and think about an appropriate solution.

Regards,
Dess | Tech Support Engineer, Principal
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.

Chase
Top achievements
Rank 1
commented on 24 Oct 2023, 01:24 PM

In this instance the BackColor is set in the designer. 
Dinko | Tech Support Engineer
Telerik team
commented on 25 Oct 2023, 11:03 AM

To test your case, I have used the project attached in Desislava's reply. I have removed the properties set in the RadForm1 constructor and set the same properties from the designer. The BackColor property is correctly displayed on all three elements. 

Here is the result:

You can also check the modified version of the project attached to this reply. Could it be possible to modify the project to mimic your implementaiton and reproduce the reported behavior. This way we can have a better look and try to find what is causing it.

 

Tags
Wizard
Asked by
Chase
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or