Groups | Blog | Home
all groups > asp.net webcontrols > december 2006 >

asp.net webcontrols : How to position a dynamically created control...


Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
12/18/2006 7:21:33 PM
You may want to use absolute positioning instead of the standard flow
layout.

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


[quoted text, click to view]
EricW
12/18/2006 11:46:55 PM
I want to create my homepage completely dynamically, but when I create two
imagecontrols and want to position them, they won't move at all.

I've read some artikels about using the placeholder, but when I dynamically
create one, I can't move it at all.

Or am I doing something wrong here?

Please advice/help.

rg,
Eric

EricW
12/19/2006 12:00:00 AM
I have set the whole page to absolute positioning and I have also set the
controls to it, but still it won't place itself at the position I want it to
be.

Is there somewhere an example I can study?

rg,
Eric


"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <Steve@Orr.net> schreef in
bericht news:BD73AA5A-21D5-44AD-B36A-9284EA8010F7@microsoft.com...
[quoted text, click to view]

EricW
12/19/2006 12:00:00 AM
found it.... my bad....

I used control.style("top") = 10 instead of = "10px"

;-)

rg.
Eric



"EricW" <iemand@home.com> schreef in bericht
news:4587a8b2$0$9457$9a622dc7@news.kpnplanet.nl...
[quoted text, click to view]

AddThis Social Bookmark Button