When I try to assign shortcuts in the shortcuts control, the userinterface disappears or I get a ”Unable to cast object of type ’Telerik.WinControls.UI.splitcontainerElement’ to ’System.ComponentModel.IComponent” error. Using shortcuts on very simple forms seems to work ok.
I am using a demo version of 2009.2.9.729 in vs2008.
4 Answers, 1 is accepted
Please send us a sample project and some steps to follow when reproducing the problem locally. Thank you in advance.
Create an empty C# windows fomrs project with Telerik R.A.D. Winform controls version 2009.2.9.729 in visual Studio 2008.
Add a RadDock control to the form.
Add a Shortcuts contorl to the form.
Press the SmartTag on the Shortcuts control and a Microsoft Visual Studio messagebox says:
Error invoking 'Assign shortcuts'. Details: Unable to cast object of type ’Telerik.WinControls.UI.splitcontainerElement’ to ’System.ComponentModel.IComponent'.
If you delete the RadDock, the Assign Shortcuts dialog works fine.
I made a support ticket (236868) with an attached zip file with a sample project.
I am experiencing exactly the same issue (w. SplitContainer on my MainForm / V. 2009.2.9.729 in VS2008).
I tried adding the bindings programmatically after Form InitializeComponent Method, by copying the
code from a sample project I made without SplitContainer, however with no success.
Please help me to find a workaround for this issue. Removing SplitContainer at this point is not an option, unfortunatelly.
Thanks in advance,
This is a known issue with our Shortcuts component. The problem is already fixed in our working version and the fix will be publicly available for the upcoming Q3 2009 release of our WinForms suite.
Thank you for your time and for reporting this problem.
the Telerik team