Unable to drag and drop or edit toolbox elements in Visual Studio Community Edition 2022 for ASP.NET Web Forms (C#) in Designer View

2.5k views Asked by At

I have followed the approximate steps of this video in an attempt to create an ASP.NET Web Form.

Inside the video, the programmer was able to directly edit text within the designer view, as well as right click to edit elements.

However, while trying to recreate these steps in Visual Studio Community Edition 2022, I am unable to do so, only being able to manually type in the html file. The following image is the designer view for a newly created blank web form component: design view for new web form component

Has the old method of drag and drop been deprecated, or have I missed a crucial step?

1

There are 1 answers

1
Talos0248 On BEST ANSWER

Update: I was able to solve the issue by going to Tools > Options > Web Forms Designer, select the "Legacy Web Forms Designer" Options, and restart Visual Studio

enter image description here

enter image description here