Hello Silvana,
Thank you for writing.
Yes, RadControls can be created and added to your form in run-time in the same way as standard controls:
private void Form1_Load(object sender, EventArgs e) |
{ |
RadTextBox tb = new RadTextBox(); |
tb.Location = new Point(25, 25); |
tb.Text = "My text"; |
this.Controls.Add(tb); |
} |
What you are trying to accomplish (allowing your users to design their own forms) is very interesting and at the same time can be very difficult to implement.
Also there are some things that are not clear:
1. if your users will be designing forms in run-time how is the Visual Studio Toolbox involved?
2. what will be the result of a user designing a form, i.e. how that form will be persisted so that it can be loaded when it must be shown?
You can distribute your application made with RadControls by distributing Telerik's dlls on the client machine. You can find the following
KB Article useful if you are using Click Once distribution.
Do not hesitate to contact me again if you have other questions.
All the best,
Martin Vasilev
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.