|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to position a dynamically created control...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 You may want to use absolute positioning instead of the standard flow
layout. 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 > > 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 >> >> > 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 >>> >>> >> > >
Other interesting topics
No open/save prompt
force viewstate to clear on OnCommand event GridView... RowUpdating event not firing.... Required multiple instances of a UserControl loaded at runtime Wizard.FinishButtonClick - launch browser AND redirect How can I send shell-commands to the web-server in webcontrols? Return Values from Popup to UserControl How to close multiple web pages Keeping 2 user controls of the same class synced data field - change true/false to Yes/No |
|||||||||||||||||||||||