vs 2008 - designer no positioning

T

Tony M

I just loaded VS 2008 on xp pro.

Tried to create ASP .net pages.
The designer won't let me drag and drop?
It seems to be sequential.
I can't drag controls on the form to position them, I have to use <enter> or
<tab> or <space> to position them.
And that's not easy!
I'm sure I'm doing something wrong!
Is there a setting or something I need to change?

Thanks
 
C

Cor Ligthert[MVP]

Tony,

It depends what part of the designer, as you try this by instance on a
master page it will for sure not work.

Cor
 
C

Cor Ligthert[MVP]

Tony,

Sorry, yea you are right, there was a time (version 2002/2003) when the page
was fixed. But that was no success, at time the wide screens became populair
everybody wanted full screens.

Editing with ASP is simple the same as is using HTML or other webbrowser
features as silverlight. Using Asp Net does not mean that the way changes
how a webbrowser want to see his data.

Cor
 
T

Tony M

I may be having a hard time explaining my problem.
All I'm doing is selecting new item and then ASP .net page.
in vs 2005 I would double click the button control in the toolbox.
VS would then place a button control in the top left corner of the form.
I could then drag this button where I please on the form.
With VS 2008 I double click a button control and it places the button inside
a dotted rectangle (says #div).
I cannot drag this button to where I want to drag it. There is no dragging
available.
I can only move the button and position it using return key to move it down
one line.
tab key would indent it 15 (I think) spaces. It's like you can only design
one line at a time.
There is no way this is the new way to design in VS 2008, I must be doing
something wrong.

Thanks for your earlier response Cor.
 
C

Clive Lumb

Perhaps a clearer answer is this one.
In VS2008 all placement is controlled by CSS.
Choose an object, right click, choose "position" and then set it to
"absolute" or "relative", you can then move it round the page.
The designer adds and edits a style for that object's position.
 
T

Tony M

Thanks for your response.
The right click didn't work, I get a props, cut, paste view code... no
position.
I did create a style and manually put in Position: Absolute.
I then associated the control in the props window with the style.
Now I have to click outside of the control then click it again and drag it.
The designer creates <p> </p> by the dozens so after awhile I have to delete
them.
WoW! for me this is a step backwards from VS 2005 designer and much harder
then wysiwyg in 2005.
I might just go back to 2005.

Thank you guys so much for all the help I get here
 
C

Clive Lumb

Tony M said:
Thanks for your response.
The right click didn't work, I get a props, cut, paste view code... no
position.

oops! - My bad!
Select then Menu Format Position
Use "absolute" to avoid the <p>
However you should be learning to use <div> for positioning things on web
pages
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top