Intermittent issue with TabStrip controls 'error creating control'

3 posts, 0 answers
  1. Cholo
    Cholo avatar
    14 posts
    Member since:
    Mar 2016

    Posted 26 Apr Link to this post

    Hi everyone,

    I've been getting an intermittent issue when i'm adding or using the controls for tabstrip

    Here's what it looks like:

    error creating control - telerik:RadTabStrip Duplicate component name 'RadTabStrip1'. Component names must be unique and case-insensitive.

    What i've done:

    Restarted VS
    Uninstalled and reinstalled AJAX controls
    Copied the Telerik.Web.UI bin file to my project's bin directory
    All assemblies in web.config matches the current version of BIN i'm working on.

    However, i'm still getting this issue more frequent than usual. It works again after clicking on the smart tag a couple of times or after restarting VS. recently, i had to keep on updating the BIN files and restart VS again to make it work. Also tried to clear VS cache but it keeps on happening. You guys have other suggestion on how i can permanently resolve this issue?



  2. Cholo
    Cholo avatar
    14 posts
    Member since:
    Mar 2016

    Posted 26 Apr in reply to Cholo Link to this post


    It happened again and seems to happen when try to follow the hierarchy w templates demo and do the following

    1. Created a grid and included a nestedviewtemplate tag

    2. made a radtabstrip inside the tag

    3. placed one tab and added a multi page (used the smart tags at this point)

    4. added a radlistview control. even added the placeholder tag.

    5. Here's what i made after the <LayoutTemplate> tag

    <telerik:RadMultiPage ID="RadMultiPage1" runat="server">
                            <telerik:RadPageView ID="RadPageView1" runat="server">
                                <telerik:RadListView ID="RadListView1" runat="server" ItemPlaceholderID="PlaceHolder1" DataKeyNames="JobOrderIndex" DataSourceID="SqlDataSource20">
                                            <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
                                                <td><i>Job Order No.</i></td>
                                                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("JobOrderNumber", "{0}") %>'></asp:Label>
                                                    <asp:Label ID="Label3" runat="server" Text='<%# Eval("JobOrderStatus", "{0}") %>'></asp:Label>
                                                <td>Plate Number</td>
                                                    <asp:Label ID="Label2" runat="server" Text='<%# Eval("ProfitCenter", "{0}") %>'></asp:Label>
                                                <td>Job Type</td>
                                                    <asp:Label ID="Label5" runat="server" Text='<%# Eval("JobType", "{0}") %>'></asp:Label>
                                                <td>Job Order Date</td>
                                                    <asp:Label ID="Label4" runat="server" Text='<%# Eval("JobOrderDate", "{0:d}") %>'></asp:Label>
                                                <td>Created By</td>
                                                    <asp:Label ID="Label6" runat="server" Text="Label"></asp:Label>
                                                <td>Problem Description</td>
                                                <td colspan="3">
                                                    <asp:Label ID="Label7" runat="server" Text='<%# Eval("ProblemDescription", "{0}") %>'></asp:Label>

    So, i noticed that the error occurs as soon as i place the source for the RadListView control and certain other controls or smart tags for the grid or the tab will not show up.

    If you notice that i'm not doing anything right (which is most of the time) please let me know and i would appreciate the wisdom you can share with me so it can be the Telerik master race i ought to be.


    Thanks again,


  3. DevCraft R3 2016 release webinar banner
  4. Veselin Tsvetanov
    Veselin Tsvetanov avatar
    239 posts

    Posted 28 Apr Link to this post

    Hello Cholo,

    Attached you will find a sample web-page implementing your scenario, which uses Northwind as DataSource db. On our side we were unable to reproduce the issue observed. 

    However, as the error says that you have two controls with the same ID, there are several things that you could check:
    - Make sure that you don't have on your page another control with the name "RadTabStrip1";
    - If the page in question is a content page, make sure you don't have another control with the same name on your Master page;
    - If the page is a User control, make sure you don't use that user control on a page that contains control with the above name.

    If none of the above helps, it could be also useful to know the version of the VisualStudio you are using. Moreover, if you notice any differences within the implementation sent, compared to your page, please point them out.

    Veselin Tsvetanov
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top