I have problem making array of telerik controls or converting or casting them to Windows forms controls, can anyone help?
when I try to search telerik control in control collection,like this
when I try to search telerik control in control collection,like this
private void LoopControls(Control.ControlCollection controls)
foreach (Control control in controls)
{
if (control is RadButtonElement)
{
}
}
}
system generates following execption
Cannot convert type System.Windows.Forms.Control to Telerik.WinControls.UI.RadButtonElement