question about html code

plugged

Member
Joined
Sep 13, 2005
Messages
11
Programming Experience
3-5
is there any way you can edit the html code behind a web form at run time, basically i'm trying to move objects in at run time. the only positioning code i can find is in the html so is there any way to edit that?

cheers
Plugged
 
If you know approx where the control is going to be located at runtime; try using placeholder or panel controls.

If you don't like those, what are you trying to move onto the form? Most controls have some sort of positioning built into them.
 
what i am tring to do is make a kind of report that scans the database and for each new record creates like 4 text boxes and labels and positions them one after each other e.g.

for x = 0 to databasecounter
new textbox1
new textbox2
new label1
new label2
' that stuff i can do its the next part i need help with
textbox1.positionx =100
textbox1.positionx =300
label1.positionx =10
label2.positionx =210
'this is the most important bit
textbox1.positiony =x*20
textbox1.positiony =x*20
label1.positiony =x*20
label2.positiony =x*20
'code to fill textboxes
next x

there is some pseudo code for what i am trying to do.

note i can not use a data gird as the final version will have alot more textboxes set out in s specific way.

cheers
Plugged
 
Back
Top