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

How do I create a new UserControl based on Rad technology?

1 Answer 409 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Preston Kitzmann
Top achievements
Rank 1
Preston Kitzmann asked on 06 Apr 2010, 10:25 PM
I would like to create a new a new user control taht consists of a RadLabel and RadCombo box control. When I click add User Control, I do not see a template for a "Telerik Rad User Control". If I create a regular user control and try to change it's inheritance from UserControl to RadControl or even RadCustomControl I can't work with the result. Suggestions on how to do this?

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 09 Apr 2010, 04:32 PM
Hello Preston,

You can find the answer to this question in your support ticket Creating custom Rad based controls. In case there are others interested in the same topic, they can refer to the paragraph below:

The purpose of the UserControl class is to host several controls related to each other logically. When you change the UserControl class with RadControls, you actually break the user control behavior and you should not expect to get something which resembles a user control. If you want to develop a custom RadControl, you should use RadElements instead of RadControls. Please refer to the documentation that ships with RadControls for WinForms suite: Start >> Programs >> Telerik >> RadControls for WinForms [version] >> Documentation. The article that concerns the topic of interest is: Telerik Presentation Framework >> Getting Started >> Getting Started (ms-help://telerik.winforms.2010.1/telerik.winforms.telerikpresentationframework/GettingStarted.html).

In case you do not want to develop a custom RadControl, but you want to use the official RadControls, just place them in a standard UserControl instance.


Greetings,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Preston Kitzmann
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or