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

Breaking Changes in sp2???!!

3 Answers 122 Views
GridView
This is a migrated thread and some comments may be shown as answers.
hchattaway
Top achievements
Rank 1
hchattaway asked on 12 Jul 2007, 03:15 PM
hello

I just uninstalled my prior version of win controls, and installed the latest sp2 build. I then tried to compile my project, which had been working fine. I am now getting several build errors like this:

*********
Warning    1    The designer cannot process the code at line 126:

this.radTabStrip.TabScrollButtonsPosition = Telerik.WinControls.UI.TabScrollButtonsPosition.RightBottom;

The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified.  Please remove any changes and try opening the designer again.    C:\Documents and Settings\hchattaway.PINPOINT\My Documents\Visual Studio 2005\Projects\ErrorLog\ErrorLog\ImportErrors.Designer.cs    127    0   
***********

and this:
**********
Error    2    The type or namespace name 'RadTabStrip' does not exist in the namespace 'Telerik.WinControls.UI' (are you missing an assembly reference?)    C:\Documents and Settings\hchattaway.PINPOINT\My Documents\Visual Studio 2005\Projects\ErrorLog\ErrorLog\ImportErrors.Designer.cs    461    40    ErrorLog
***********

Are these correct? did the namespaces change??
All of the references are pointing to dll's dated 7/10/07


But I can compile the sample's project no problem...

HELP!
Harold

3 Answers, 1 is accepted

Sort by
0
Gavin Howlett-Foster
Top achievements
Rank 1
answered on 12 Jul 2007, 03:49 PM
I have had this problem too, with the GridView. It appears that some properties of the controls have been altered in SP2 and so gridview's created in earlier versions, say SP1 now get the errors that you describe.

If you double-click on the error, it takes you to the appropriate point in the '.Designer.cs' file. You can then delete the lines that are causing the errors. I have done this and my controls starting working correctly afterwards.

You should of course, make a backup of your project first!
0
hchattaway
Top achievements
Rank 1
answered on 12 Jul 2007, 04:01 PM
Hello and thanks for the reply...

I got rid of the namespace errors, but I am still getting the first one:
The designer cannot process the code at line 130: this.radTabStrip.TabScrollButtonsPosition = Telerik.WinControls.UI.TabScrollButtonsPosition.RightBottom; The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again.

If I delete that line, it just keeps coming back, since it is in the autogenerate section. I can run the form, but can not view it in design mode. Major pain!


Harold

0
Boyko Markov
Telerik team
answered on 13 Jul 2007, 06:24 AM
Hello Harold,

Could you please try to open your solution, delete your old  references and then add the new references to our assemblies.

As I see the error below I think that it is very possible that you have some properties serialized so if you have manually changed something   in your form's designer  please remove it and then try to reopen it again.

 
Warning    1    The designer cannot process the code at line 126:

this.radTabStrip.TabScrollButtonsPosition = Telerik.WinControls.UI.TabScrollButtonsPosition.RightBottom;

The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified.  Please remove any changes and try opening the designer again.    C:\Documents and Settings\hchattaway.PINPOINT\My Documents\Visual Studio 2005\Projects\ErrorLog\ErrorLog\ImportErrors.Designer.cs    127    0   

I hope this helps.


All the best,
Ray
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
hchattaway
Top achievements
Rank 1
Answers by
Gavin Howlett-Foster
Top achievements
Rank 1
hchattaway
Top achievements
Rank 1
Boyko Markov
Telerik team
Share this question
or