Creating HTML controls inside <div> tag

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ValK

    Creating HTML controls inside <div> tag

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

    <div class="Properti esBody" 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.Co unt - 1
    Select Case MyTable.Rows(i) .Item("DataType Name")
    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

Working...