Copy and paste loses everything

7 posts, 0 answers
  1. PortVista
    PortVista avatar
    61 posts
    Member since:
    Oct 2006

    Posted 11 Apr 2007 Link to this post

    When I copy and paste most controls, usually the collection is lost, say in a combobox. Is this just a Visual Studio designer bug? Is there a way to re-assign the collection back or make a copy of it without having to spend hours re-creating it just because you wanted to move it somewhere else?

    I also get javascript errors when using Telerik controls, especially the tabs -- they disappear on me a lot, and I need close and open the project again to see them. It's just impossible it seems to copy and paste the whole tab control without not only screwing up your entire project, but also losing all the tabs. It doesn't seem specific to Telerik though... it's like the VS designer is totally clueless. I make a backup of my project anytime I need to move something to another user control...
  2. PortVista
    PortVista avatar
    61 posts
    Member since:
    Oct 2006

    Posted 11 Apr 2007 Link to this post

    This is one of the error messages
    I can't seem to upload a pic or show it so here's a link:
    http://www.portvista.com/media/error.jpg
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 16 Apr 2007 Link to this post

    Hello Jason,
     
    We are aware of the copy&paste issue and we will address it in one of the following service packs.

    The errors you get are possibly because you are inserting items of types not suitable for the respective control. Basically the collection accepts all descendants of RadItem and there are is constraint logic implemented at this time.

    Thank you for reporting this issue, we will fix it after the upcoming release next week.
     

    Kind regards,
    Dimitar Kapitanov
    the telerik team

    Instantly find answers to your questions at the new telerik Support Center
  5. PortVista
    PortVista avatar
    61 posts
    Member since:
    Oct 2006

    Posted 02 May 2007 Link to this post

    I'm still getting this error in my project at design time. I even deleted all references to IsSelected in my project.

    http://www.portvista.com/media/error.jpg
  6. Mike
    Admin
    Mike avatar
    640 posts

    Posted 03 May 2007 Link to this post

    Hello Jason,

    This error message appears because you have a TabItem declaration in the generated code on a form, with IsSelected property set to true that is not added to any RadTabStrip control on the form.
    For example, part of the following from the designer generated code, might be missing:
    this.radTabStrip1.Items.AddRange(new Telerik.WinControls.RadItem[] {
                this.tabItem1,
                this.tabItem2,
                this.tabItem3
                ... });

    We are still unable to find the steps to reproduce this error, but we will add it to our issue list, to examine the possible reasons for this issue to appear.

    Best wishes,
    Mike
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. PortVista
    PortVista avatar
    61 posts
    Member since:
    Oct 2006

    Posted 04 May 2007 Link to this post

    Well I still get the error. The addRange method is there is the designer, and there aren't any orphan tabItems. The only IsSelected property ever in my project is added automatically in the designer when you view the form in design view and select a tab. I'm using VB.
  8. Mike
    Admin
    Mike avatar
    640 posts

    Posted 07 May 2007 Link to this post

    Hello Jason,

    If this problem persists you ca open a support ticket and send us sample code, that we can examine. This way we can be much more precise in our help for you.

    Greetings,
    Mike
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for WinForms is Visual Studio 2017 Ready