Hi, I have a problem with convert "Telerik.WinControls.Ui.RadDropDownList" to "System.Windows.forms.Control"
I used "Control" from "System.Windows.Forms.Control" to find the elements used in an application I'm reverse engineering, and found a "RadDropDownList" as per the attached screenshot:
I would like to change the index of this list, but I can't convert from "Control" to "RadDropDownList".
Can anyone help me?
Translating the print error:
Cannot cast type "System.Windows.Forms.Control" to "Tlerik.WinControls.UI.RadDropDownList"
Adding:
I already tried to cast "Control" to "ComboBox" and got the following error when running the application. So I tried to cast it with "RadDropDownList":
Translating the error:
An unhandled exception occurred in the application. If you click continue, the application will ignore this error and try to continue. If you click Terminate, the application will terminate immediately.
Cannot cast an object of type 'Telerik.WinControls.UI.RadDropDownList' to type 'System.Windows.Forms.ComboBox'
Thanks