Can't place toolbox items where I wan't them (freeform) on the .aspx page

Hi Experts,
I am a super-newbie just learning Visual Studio and I'm trying to create a .aspx web page, but I can't get the toolbox elements (i.e. labels, textboxes, etc.) to go where I want them on the design page? Is there some setting that allows you to place them freeform on the page?


taduhFinancial Systems AnalystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What you're referring to is what Visual Studio called "Grid Layout" (as opposed to the default "Flow Layout")

For web development, using Grid Layout (which in html terms really translates to "absolute positioning") just not that common anymore.

In VS2005, you can re-enable Grid Layout (I'm not sure if it's the same in VS2008, but should be...)
Try going to the "Tools" in the main VS toolbar,
then "Options"
then in the tree view on the left, scroll down to "HTML Designer" and there should be a "CSS Positioning" node and check the first checkbox ("Change positioning to the following...") and then in the dropdownlist, choose "Absolutely positioned"

That's where it is in VS2005...I'm not in front of VS2008 at the moment...but if the option is would be in the same spot...

With that being said, if you are a newbie to web development (not just Visual Studio)...I would recommend you read up on CSS and html design and layout instead of using Absolute Positioning.

taduhFinancial Systems AnalystAuthor Commented:

If you don't use absolute positioning, how do you get elements on the page where you want them?


What you're wanting to learn is not a simple task that can be easily answered in one question on a forum...
And the techniques are not something can be mastered quickly...

With web programming, your 3 options are (in order of "desireability"):
1. CSS
2. Tables
3. Absolute positioning

This is a fairly long article on general (not ASP.Net specific)  form layout:
I posted the link to page 3 of the article because it is the first direct example of controlling positiong using css.
You can see how the labels are placed next to the textbox using css.
Using CSS for all your layout needs is probably the most ideal way to do things, but it is also the most basically need to learn to be a web designer before you learn to be a web developer...but it gives you the most flexibility for changes and most compatability...
Here's another example:

And a google search for more:

Option 2 is probably the most common way to layout web forms.
You would use an html editor to create an html table with the correct cells on how you want your form to look and then place controls into the table cells.
Many ASP.Net controls like the gridview and detailsview and formview...when they render their final html, it is using html <table> tags to maintain their layout.

You simply will not find many web applications and web sites that use absolute positioning...even though it is the easiest way to layout a page.

If you're a "super-newbie" as you claim...I would suggest you head on over to
they have a ton of tutorials and videos on how to work with ASP.Net...
and they also have starter kits here:

so if you pick one of those apps, you can see how the forms are layed out as well as how works...and I can almost guarantee none of those samplse are using absolute positioning...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
taduhFinancial Systems AnalystAuthor Commented:
I was led to believe that with Visual Studio you could just drop and drag controls where you wanted them, but I can see now that this is a much more complex issue. Guess that why people go to school to learn all this stuff. Thanks for your candid response.

I'll check out some of the websites you recommended.

>>Guess that why people go to school to learn all this stuff.

The funny thing is, I did get a degree on "this stuff"...but honestly, everything useful I've learned that allows me to work and be good at what I do....has not been learned from a class room.

So I don't want to make it sound like this stuff is "impossible" to learn without going to school.

As a "super-newbie"...I would recommend you d/l either the Small Business Starter Kit, Personal Site Kit, or the club site kit...

Get it up and running and see how they did things and layed things out...

Good luck!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.