TabItem not in code and ContentPanel wrong name

4 posts, 1 answers
  1. NORIS
    NORIS avatar
    29 posts
    Member since:
    Jun 2009

    Posted 10 Nov 2009 Link to this post

    Hello,
    In design I am adding Item 10 to TabStrip collection.  I have named it TabOnline, however the ContentPanel name is TabItem1.  However if I select the tab and then the content panel, it is correctly called TabOnline.  Also, in the code it does not know the tabitem TabOnline.  I've tried deleting and readding the item and tried a different name too.  I've even tried keeping the tab the default of TabItem1, but it still is not available in code.
    I did install Q3 yesterday.
    Thanks.
  2. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 13 Nov 2009 Link to this post

    Hello NORIS,

    Thank you for writing.

    I have not managed to reproduce described issue with RadTabStrip control and latest Q3 2009 version. Could you please send me a step-by-step detailed description how to reproduce it. This will help me to investigate your case in details and provide you with further assistance.

    I am looking forward to your reply.

    Sincerely yours,
    Martin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. NORIS
    NORIS avatar
    29 posts
    Member since:
    Jun 2009

    Posted 17 Nov 2009 Link to this post

    Hello Martin,
    I am going into the TabStrip Items collection.  I click to Add an item.  The name defaults to TabItem1.  I change the name to TabOnline.  The ContentPanel continues to be TabItem1.ContentPanel instead of changing to TabOnline.ContentPanel , however, the ContentPanel.AssociatedItem does change to TabOnline.  I found today that if I save, close and reopen the project at this point, when I reopen the project the ContentPanel is then changed to TabOnline.ContentPanel.
    I did not have this problem until I was adding item #10 or after.  Maybe that's it??
    Thank you.
  5. Answer
    Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 20 Nov 2009 Link to this post

    Hi NORIS,

    Thank you for the additional details. This helped me to reproduce described content panel behavior when changing tab Name. However, after closing with OK button items editor it seems that everything comes on its place and I have not troubles to use the instance of TabOnline in the code. Nevertheless, we will consider improving this design-time behavior in one of the next releases. I have updated your Telerik points for bringing to this our attention.

    Do not hesitate to contact me again if you have any other questions.

    Sincerely yours,
    Martin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top