How to position a dynamically created control...

E

EricW

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
 
S

Steve C. Orr [MCSD, MVP, CSM, ASP Insider]

You may want to use absolute positioning instead of the standard flow
layout.
 
E

EricW

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
 
E

EricW

found it.... my bad....

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

;-)

rg.
Eric
 

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

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,161
Latest member
GertrudeMa
Top