Karan Shah
Karan Shah

Reputation: 71

Cause an exception "ReadOnly controls collection" in Krypton toolkit

I have integrated krypton toolkit in my winforms project.everything is working fine, but after I move in VS 2015 I got error:

enter image description here

Upvotes: 0

Views: 776

Answers (1)

Kambo_Rambo
Kambo_Rambo

Reputation: 1715

I believe its some sort of bug with group boxes ( assuming thats what it is), where VS doesn't treat the groupbox as a panel or something. I see you commented out something related below it.

Try:

this.kryptonHeaderGroup_EmailSupplementBy.Panel.Controls.Add(this.yourcontrolname);

Where the control is a member of the group.

Upvotes: 1

Related Questions