i cannot edit the design and drag and drop controls from toolbox in webform

Omkar Jaiswal 0 Reputation points
2024-09-24T18:16:54.33+00:00

cannot drag and drop controls from toolbox in webforms

User's image

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 54,811 Reputation points
    2024-09-24T18:25:51.2833333+00:00

    Some things stand out here.

    1. The screenshot of the editor window shows the HTML view is active, not the designer. The HTML file is in bold.
    2. The screenshot also shows that the designer window is what it is trying to render. However there is nothing in the designer which isn't right. I notice that you have a Choose File element at the top of the design window. Is that some controls you put on the page or something else?
    3. The Body indicator seems to indicate that maybe you're inheriting from a base control that actually defines the body. In that case there is no place to drag controls from the toolbox from.

    Can you share the contents of your ASPX file as HTML? Can you confirm whether you're using an inherited base page or not?

    0 comments No comments

  2. Lan Huang-MSFT 29,751 Reputation points Microsoft Vendor
    2024-09-25T02:34:14.0766667+00:00

    Hi @Omkar Jaiswal,

    You should be in Web Live Preview mode.

    Change settings: Tools->Options->Web Form Designer-> Select "Legacy Web Form Designer"-> Restart VS.

    User's image

    Best regards,
    Lan Huang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.