I need to get all the controls from the radform to get some properties and configure it in runtime.
The components i have in the form is:
- RadTextbox
- RadMulticolumnCombobox
- RadPageView
- RadLabel
- RadGridView.
How i can get all controls and childs in the form?
and use this to get the control and do some operations:
var q = GetAll(this, typeof(RadTextBox));
foreach(RadTextBox frtb inq)
{
//operations with the control here
}
0
Stefan
Telerik team
answered on 04 Jul 2013, 08:12 AM
Hello Helder,
I can confirm that this is a valid approach to get the controls of a certain type on a Form. Thank you for sharing your solution with the community.
Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>