471,336 Members | 1,239 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

Creating HTML controls inside <div> tag

Hello All!
I have a scrolable <div> on my aspx page.

<div class="PropertiesBody" id="divInput" style="OVERFLOW-Y: scroll;
Z-INDEX: 108; LEFT: 40px; WIDTH: 616px; POSITION: absolute; TOP: 152px;
HEIGHT: 328px" name="divInput"></div>

Then I getting configuration data from the database that specified type of
the control I want create.

I need something like this:
For i= 0 To MyTable.Rows.Count - 1
Select Case MyTable.Rows(i).Item("DataTypeName")
Case "Char"
'Create HtmlInputText
Case "Label"
'Create div
Case "Select"

End Select
Next i
How can I dynamicly load HTML controls on my page and display them inside my
scrolable div.

If

Nov 21 '05 #1
0 2365

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Daniel Hansen | last post: by
3 posts views Thread by Joseph Haig | last post: by
4 posts views Thread by Alan Silver | last post: by
5 posts views Thread by chakradhari.ashish | last post: by
reply views Thread by Patricia Mindanao | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.