When I was studying the ASP.NET video, I saw the teacher in the video creating an html file, then clicked on the design, and started dragging controls on it to lay out the web page. I also wanted to do the following, but I found that there was no design in the newly created html in my VS, but there was a design in the WebForm form. Um...why? ? ?
In the spirit of "not settling is the driving force for learning", I started searching online for "there is no design in the new html file created by vs2013". When I pressed Enter, the solution popped up. Let’s see how to solve this problem.
Step 1
Open VS and select "Tools? Options" on the menu bar.
Select "File Extension" under "Text Editor".
Enter "html" in the extension on the right side of "Options" and select "HTML (Web Form) Editor" and click Add.
Check "Map files without extension to (HTML (Web Form) Editor)" on the lower side of the form , and then click OK.
Close all open documents in VS, and then restart VS. Open our html file again and see if "Design" pops up. Let's drag the controls into it! ! !
We will always encounter problems of one kind or another in our studies, but these are not problems. As long as we don’t give in, we will make progress. No.