take a look here
http://www.gfln.org/default4.aspx
now when u click on radio button 1(from 1 to 7) it generate 3 <TD> (two have text name and telephone and other have textbox which is server side control)on run time now problem is whne u click on any other radio button say greater than 1 it overlaps td
here is code behind radiobuttonlist
Protected Sub RadioButtonList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadioButtonList1.SelectedIndexChanged
Dim newdiv As New HtmlGenericControl("div")
Dim ht As New HtmlTable()
ht.ID = "mytable" & index
ht.Width = "100%"
ht.CellSpacing = "0"
ht.CellPadding = "0"
ht.Border = 0
Dim htr, htr1 As New HtmlTableRow()
Dim htc, htc1, htc2, htc3, htc4, htc5 As New HtmlTableCell()
Dim name_tb As New TextBox()
name_tb.ID = "name_tb" & index
Dim Tel_tb1 As New TextBox
Tel_tb1.ID = "Tel_tb1" & index
name_tb.TextMode = TextBoxMode.SingleLine
htc.InnerText = "Name : "
htc.Width = "20%"
htc.Align = "Left"
htc1.InnerText = ""
htc1.InnerHtml = "<strong></strong>"
htc1.Width = "10%px"
htc2.Width = "70%"
htc2.Align = "left"
htc2.Controls.Add(name_tb)
htr.Controls.Add(htc)
htr.Controls.Add(htc1)
htr.Controls.Add(htc2)
ht.Controls.Add(htr)
'make another row
htc3.InnerText = "Telephone : "
htc3.Width = "20%"
htc3.Align = "Left"
htc4.InnerText = ""
htc4.InnerHtml = "<strong></strong>"
htc4.Width = "10%px"
htc5.Width = "70%"
htc5.Align = "left"
'htc3.Controls.Add(Tel_tb1)
htr1.Controls.Add(htc3)
htr1.Controls.Add(htc4)
htr1.Controls.Add(htc5)
ht.Controls.Add(htr1)
newdiv.Controls.Add(ht)
newdiv.Attributes.Add("table", "ht")
newdiv.Attributes.Add("class", "right_txt_space_accm")
Me.PlaceHolder1.Controls.Add(newdiv)
next
end sub
please reply