Problem with Shortcuts and SplitContainer and/or RadDock

5 posts, 0 answers
  1. Tau Sick
    Tau Sick avatar
    14 posts
    Member since:
    Jul 2009

    Posted 19 Aug 2009 Link to this post

    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.

  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 21 Aug 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Tau Sick
    Tau Sick avatar
    14 posts
    Member since:
    Jul 2009

    Posted 21 Aug 2009 Link to this post

    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.

  5. Darko
    Darko avatar
    14 posts
    Member since:
    Sep 2008

    Posted 21 Oct 2009 Link to this post

    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
  6. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 26 Oct 2009 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready