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

Problem with Shortcuts and SplitContainer and/or RadDock

4 Answers 103 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tau Sick
Top achievements
Rank 1
Tau Sick asked on 19 Aug 2009, 12:59 PM

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

Sort by
0
Julian Benkov
Telerik team
answered on 21 Aug 2009, 08:46 AM
Hi Tau Sick,

Please send us a sample project and some steps to follow when reproducing the problem locally. Thank you in advance.

Sincerely yours,
Julian Benkov
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
Tau Sick
Top achievements
Rank 1
answered on 21 Aug 2009, 10:44 AM
It is very simple.

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.

0
Darko
Top achievements
Rank 1
answered on 21 Oct 2009, 10:42 AM
Hi,

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,
Darko Konrad
0
Georgi
Telerik team
answered on 26 Oct 2009, 03:11 PM
Hello Tau,

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.

Best wishes,
Georgi
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
Tags
General Discussions
Asked by
Tau Sick
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Tau Sick
Top achievements
Rank 1
Darko
Top achievements
Rank 1
Georgi
Telerik team
Share this question
or