• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

Visual Studio 2005, ASP.Net, web forms issues


I have recently changed to visual studio 2005 and am having a problem with building a nice looking user interface in asp.net.  In VS 2003, you can move items around a web form - using grid layout - and the form has snap to grid etc.  Text fields, drop downs and other components can easily be lined up.

In VS 2005, I do not seem to have this ability, components are not aligned and cannot be dragged and dropped onto any area of the form, but only next to existing components.  

Surely VS 2005 can let me create a web form and allow me to drag and drop anywhere on the screen.  It might be using flow layout, but the properties for the web form do not seem accessible anyway, as the interface has changed.  Any ideas on fixing this issue? Can anyone help me out on the different ways of doing things in VS 2005 compared to VS 2003?

1 Solution
Carl TawnSystems and Integration DeveloperCommented:
The option has (rather annoyingly) been moved in 2005.

You need to go to Tools > Options. Expand the "HTML Designer" branch of the tree. Then under "CSS Positioning" tick the first tick box and make sure "Absolutely positioned" is selected from the dropdown underneath.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now