I had migrated my application from Visual Studio 2008 to Visual Studio 2010. Everything works fine. I’m able to compile and run the application. But I can’t do any design changes inside my application.
ERROR CREATING CONTROL – CONTENTPLACEHOLDER1 Object Reference Not Set to an Instance of Object.
How to fix this?
This is the solution. In BaseForm, we should check a condition ” if (!this.DesignMode) ” in OnInit event. And we should give base.OnInit(e); before that condition