Link to home
Start Free TrialLog in
Avatar of taduh
taduhFlag for United States of America

asked on

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?

Thanks,

taduh
Avatar of samtran0331
samtran0331
Flag of United States of America image

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")...is 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 available...it 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.

Avatar of taduh

ASKER

samtran0331,

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

taduh
ASKER CERTIFIED SOLUTION
Avatar of samtran0331
samtran0331
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of taduh

ASKER

samtran0331,
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.

taduh
>>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!