Hi,
All of a sudden the following code has decided that it is only going to create 1 textbox, regardless of what radioButton is selected! The maximum number of textboxes is 12.
Dim ctr As Integer
'Loop to create textboxes dynamically depending
'on the value selected in the "No_Letters" RadioButtton List
For ctr = 1 To No_Letters.SelectedValue Step 1
'Genereate Text Box
tmpTxtBox.ID = "txtBox" & ctr
'Add text box to placeholder
PlaceHolder1.Controls.Add(tmpTxtBox)
Next
Hope somebody can help?
Thanks in advance
Jane
All of a sudden the following code has decided that it is only going to create 1 textbox, regardless of what radioButton is selected! The maximum number of textboxes is 12.
Dim ctr As Integer
'Loop to create textboxes dynamically depending
'on the value selected in the "No_Letters" RadioButtton List
For ctr = 1 To No_Letters.SelectedValue Step 1
'Genereate Text Box
tmpTxtBox.ID = "txtBox" & ctr
'Add text box to placeholder
PlaceHolder1.Controls.Add(tmpTxtBox)
Next
Hope somebody can help?
Thanks in advance
Jane