Ticket Q491554
Visible to All Users
Duplicate

Visual Studio very slow after upgrade to 12.2.8

created 12 years ago

After I upgraded to 12.2.8 each time I edit any of the controls in design mode (both using your wizards or changing properties directly it's painfully slow to the point of not working. Anytime I drag one of your controls onto the source page I get the same freeze up but editing properties isn't bad.

This is really effecting my productivity.

Thanks for any help you can give me.

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

Hi,
Updated:
It seems that you have encountered the same issue as that one described in the Saving an ASP.NET page at design time is very slow in Visual Studio 2012 (2010) article. Please refer to it for additional details.
Updated:
This article covers only the issue connected with slow saving of updated files in Visual Studio. There is another known issue described in the Visual Studio 2012 (2010) performance is very slow when a page with ASP.NET controls is opened in Designer article. It looks very similar to the first one, but has another cause and solution. It occurs if the Visual Studio Designer is opened and a page contains a lot of controls. I believe that an additional condition to reproduce this issue is the use of a MasterPage, but I am not sure since I am still researching it. Does your project have a MasterPage?
Updated:
You seem to encounter a combination of both issues. I have updated your sample to illustrate how you can modify your real application to increase IDE performance at design time. I removed registering of controls from web.config and separated problematic page to several UserControls.

    Show previous comments (18)
    DevExpress Support Team 12 years ago

      Hello Gerral,
      The cause of the error is that UserCOntrols are not included to a project. This is strange, since I tested the project's design-time performance after applying the changes. I corrected the project and apologize for the incident.
      You are right, I commented a part of the server-side code to demonstrated the main idea of the solution. Now, I have updated the project. I moved a part of the server-side code to corresponding UserControls. I do not have several classes, therefore database connections code is still commented. Nevertheless, the page's code behind file has become much simpler.
      The page does not look complex, but its contains a lot of controls and additional HTML tables. Our controls also render HTML 'table' elements. Visual Studio Designer performance is slow if the page contains a lot of tables. Therefore the only solution is to divide the page into several UserControls.

      GH GH
      Gerral Hubbard 1 12 years ago

        I shall divide the page up and let you know how it fares. Thank you very much for your help, I appreciate it.

        DevExpress Support Team 12 years ago

          We are looking forward to hearing from you.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.