Wednesday, March 28, 2012

VWD 2008 - Question

Hi,

I am new to ASP.NET and the VWD enviroment. I was doing some turtorials on it and they request me to customize the auto-positioning so that I can drag and drop a control anywhere on the page without restriction. (rather than it starting at the top right.)

Would someone be able to give me a simple, clicker here and there :D .

Thanks,
Shadow9997

I'm not sure what the question is. Can you please clarify?


Careed:

I'm not sure what the question is. Can you please clarify?

Yes, sorry if it wasn't clear. What I mean is you know when you start up Visual Web Developer 2008 and go to

File | New Website | ASP.NET Website

Onceyou do that, the editor creates the default web page (default.aspx) andshows the source of the page, and from there you can change the screento "Design" and can go over to the tool box and drag and drop controlsonto the Design interface. My question is when you drag and drop acontrol onto the page, like a button or login feature, it goesautomatically to the top left of the page. Is there a way to turn thatfeature off, like in VWD 2005 Express? They call it "auto-positioning" (Or also known as Absolute Positioning) ,in VWD 2005 Express you could turn it off (Make it Relative Positioning) and drag and drop thecontrols whereever you wanted them to be.


If you want a visual explanation of my question go to the following link and go to the time


http://www.asp.net/learn/videos/video-13.aspx

and skip ahead to about 16 min. into the tutorial video.

Thanks,
Shadow9997


I think you are refering to Flow vs Grid Layout. I am using Visual Studio 2005 (Not the express one) and I dont see where it used to be (as it was in Visual Studio 2003) If I recall, you used to be able to go to your aspx page, go to design view, right click the page, chose properties and change your layout that way. I am not seeing this in my Visual Studio 2005 but maybe you will see it.

Grid layout is, if I recall, what allows you to drop controls anywhere on the page. Flow layout is like a Word Document, you cant just put your cursor anywhere and start typing.

If find something else out for you I will post it here.


In VWD 2008, go to the Tools menu and select Options. In the Options dialog, expand the HTML Designer tree and select CSS Styling. In the right pane, the last option is what you're looking for.


Thanks so much for you help. It is very much appreciated that you took the time to help.

Thanks,
Shadow9997

0 comments:

Post a Comment