Breaking Changes in sp2???!!

4 posts, 0 answers
  1. hchattaway
    hchattaway avatar
    67 posts
    Member since:
    Feb 2007

    Posted 12 Jul 2007 Link to this post

    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

  2. Gavin Howlett-Foster
    Gavin Howlett-Foster avatar
    9 posts
    Member since:
    May 2005

    Posted 12 Jul 2007 Link to this post

    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!
  3. UI for WinForms is Visual Studio 2017 Ready
  4. hchattaway
    hchattaway avatar
    67 posts
    Member since:
    Feb 2007

    Posted 12 Jul 2007 Link to this post

    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

  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 13 Jul 2007 Link to this post

    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
Back to Top