Home All Groups Group Topic Archive Search About

Absolute Positioning in Web User Controls

Author
27 Jan 2006 9:14 AM
stefanjohansson_2005
I used to place a GridLayoutPanel in the User Control to get an
absolute position. How do I do this in Visual Studio 2005? Absolute
position under Layout - Position - Auto Position Options in the meny
does not work since the position should be relative to the User Control
and not the Web Page.

Author
30 Jan 2006 6:13 AM
Steve C. Orr [MVP, MCSD]
Absolute positioning works relative to the container in which the control is
place.
Therefore you should be able to accomplish your goals by nesting it one or
more panels or similar container controls.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


<stefanjohansson_2***@yahoo.se> wrote in message
Show quoteHide quote
news:1138353275.025275.243140@g14g2000cwa.googlegroups.com...
>I used to place a GridLayoutPanel in the User Control to get an
> absolute position. How do I do this in Visual Studio 2005? Absolute
> position under Layout - Position - Auto Position Options in the meny
> does not work since the position should be relative to the User Control
> and not the Web Page.
>
Author
1 Feb 2006 2:45 PM
stefanjohansson_2005
Hi!

Thanks for you suggestion. I have tried to place a Panel in my Web User
Control and then place controls in the Panel. But the position is not
relative to the Panel so I get the same result as before.