Pages Navigation Menu

Coding is much easier than you think

How to switch to Design view in visual webpart using Visual Studio 2010

 
In this post, you will learn how to enable or switch to Design view in visual webpart using Visual Studio 2010
 
I was creating a visual webpart using Visual Studio 2010 for SharePoint 2010 in my sandbox server. After adding a Visual webpart to my project, it showed me the HTML Source page and there was no option for switching to Design page.

Solution:

To Enable Design View:

1. Goto Tools -> Options in Visual Studio 2010

2. Navigate to HTML Designer -> General

3. “Check” the option Enable HTML designer

4. Restart the visual studio 2010

Heard that many of our team members face the same. Hope this info would be useful.

Please find the below screen shot for reference;
 

Visual Studio 2010

Visual Studio 2010