Click here to Skip to main content
15,902,764 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm trying to move the controls (label, textbox, etc..) freely on the [Design] screen of an [ASP.NET Web Forms Site] template, using VS 2022.

What I have tried:

I know that to achieve it, I should ...

select the control I want to move around -->Format tab--> Set Position --> Select Absolute.

But, it doesn't seem to work? And the selected control does not move.
Posted

Tables/nested tables are the way to handle layout.
 
Share this answer
 
Comments
Richard Deeming 3-Apr-24 4:42am    
Nested tables were the way to handle layout, back in the 90s. With modern CSS, there's no need to use a table for anything other than tabular data any more. :)
You really don't want to use the designer to layout web pages. That's going to generate a ton of inflexible HTML that you're going to have to rip out and redo for a really flexible page layout when screen sizes change.

You typically just write and edit the HTML, and CSS along with it, directly in the editors.
 
Share this answer
 
Check if
Tools > Options > Web Forms Designer
"Legacy Web Forms Designer"
is selected.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900