Home All Groups Group Topic Archive Search About

How to position a dynamically created control...

Author
18 Dec 2006 10:46 PM
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

Author
19 Dec 2006 3:21 AM
Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
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


Show quoteHide quote
"EricW" <iem***@home.com> wrote in message
news:45871a57$0$29567$9a622dc7@news.kpnplanet.nl...
>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
>
>
Are all your drivers up to date? click for free checkup

Author
19 Dec 2006 8:54 AM
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


Show quoteHide quote
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.net> schreef in
bericht news:BD73AA5A-21D5-44AD-B36A-9284EA8010F7@microsoft.com...
> 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
>
>
> "EricW" <iem***@home.com> wrote in message
> news:45871a57$0$29567$9a622dc7@news.kpnplanet.nl...
>>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
>>
>>
>
Author
19 Dec 2006 10:37 AM
EricW
found it.... my bad....

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

;-)

rg.
Eric



Show quoteHide quote
"EricW" <iem***@home.com> schreef in bericht
news:4587a8b2$0$9457$9a622dc7@news.kpnplanet.nl...
>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]" <St***@Orr.net> schreef in
> bericht news:BD73AA5A-21D5-44AD-B36A-9284EA8010F7@microsoft.com...
>> 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
>>
>>
>> "EricW" <iem***@home.com> wrote in message
>> news:45871a57$0$29567$9a622dc7@news.kpnplanet.nl...
>>>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
>>>
>>>
>>
>
>

Bookmark and Share