Hi,
I am creating a dynamic form and after adding dynamic controls but i receive this message (" The best overloaded method match for 'System.Windows.Forms.Control.ControlCollection.Add(System.Windows.Forms.Control)' has some invalid arguments ")
and (" cannot convert from 'Telerik.WinControls.UI.RadGroupBox' to 'System.Windows.Forms.Control' ")
Here is the code:
Can you help me?
I am creating a dynamic form and after adding dynamic controls but i receive this message (" The best overloaded method match for 'System.Windows.Forms.Control.ControlCollection.Add(System.Windows.Forms.Control)' has some invalid arguments ")
and (" cannot convert from 'Telerik.WinControls.UI.RadGroupBox' to 'System.Windows.Forms.Control' ")
Here is the code:
Form frm = new Form();
RadGroupBox groupb = new RadGroupBox();
frm.Controls.Add(groupb);
Can you help me?