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

[Solved] Generation of designer file failed

1 Answer 163 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Lenny_shp
Top achievements
Rank 2
Lenny_shp asked on 23 Feb 2010, 03:30 PM
VS2008 SP1    RadAjax  2009.3.1210.35
Generation of designer file failed:  Telerik.Web.UI.RadComboBoxItemCollection must have items of type 'Telerik.Web.UI.RadComboBoxItem'.  'telerik:RadComboBoxItem' is of type 'Telerik.Web.UI.RadComboBoxItem'.

I deleted the designer file then right clicked on ascx 'Conver to Web Application' to have it recreate the designer file and I got the above error.  I checked all the comboboxes in the ascx and they all have at least 1 comboItem.

Prior to deleting the designer file I didn't have a problem with the combobox, except that I added a RadGrid and it didn't get added to the designer file automatically.

                    <MyApp:MyRadComboBox Required="true" runat="server" ID="cboMJA" XmlTag="MainCategory" Filter="Contains" Skin="Simple"  
                            AutoPostBack="true" AllowCustomText="false" NoWrap="true" Width="280px"
                        <Items> 
                            <telerik:RadComboBoxItem Text="" /> 
                        </Items>                
                        <ExpandAnimation  Type="None" /> 
                        <CollapseAnimation Type="None" />       
                    </bessemer:MyRadComboBox> 

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 01 Mar 2010, 12:22 PM
Hello Lenny_shp,

This error most usually happens if you change the Design.dll while there is a page opened in Design-time.

Please try closing all pages using the designer and re-add the Design dll to your project. If this does not help, please try restarting Visual Studio.

Sincerely yours,
Simon
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ComboBox
Asked by
Lenny_shp
Top achievements
Rank 2
Answers by
Simon
Telerik team
Share this question
or