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

RadCheckBox and RadRadion Button not in ControlCollection

3 Answers 159 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
NORIS
Top achievements
Rank 1
NORIS asked on 11 Dec 2009, 08:11 PM
Hello,
I am iterating through the ControlCollection of a RadPanel and it does not contain any of the RadCheckBox or RadRadioButton.
Is this correct?  Is there another way for me to get these controls from the panel?
Thank you.

 

3 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 15 Dec 2009, 08:38 AM
Hi NORIS,

Thank you for writing. I am afraid that I could not reproduce the issue you described. Please provide more details on your scenario. A small sample application will be best so that I may debug it and provide a straight solution if there is one. I am looking forward to your reply.

Regards,
Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
NORIS
Top achievements
Rank 1
answered on 15 Dec 2009, 07:24 PM
After further investigation I found that the problem is that these controls are not in the panel collection because they are in a GroupBox on the panel.  So, how do I get the controls in the GroupBox which resides on the panel?
Thanks.
0
Victor
Telerik team
answered on 16 Dec 2009, 08:38 AM
Hi NORIS,

If the controls are in a groupbox you need to iterate over the Controls collection of the panel, find the appropriate groupbox, and then find the particular controls inside the groupbox collection.

Write again if you need further assistance.

Kind regards,

Victor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
NORIS
Top achievements
Rank 1
Answers by
Victor
Telerik team
NORIS
Top achievements
Rank 1
Share this question
or