Results 1 to 3 of 3

Thread: creating controls at runtime

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715

    creating controls at runtime

    VB Code:
    1. td = New TableCell
    2.  
    3.             Dim ctl As New RadioButton
    4.             ctl.ID = CType(objDataReader.GetValue(0), String)
    5.             ctl.GroupName = "AdminListRadio"
    6.             page.
    7.             Page.FindControl("Frm").Controls.Add(ctl)
    8.             td.Text = " "
    9.             tr.Cells.Add(td)

    Is there any way to get it to insert the radio button into the cell instead of just the end of the form?

    thanks

    Dimava
    Last edited by dimava; May 6th, 2004 at 09:08 PM.
    NXSupport - Your one-stop source for computer help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width