![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I am generating textboxes at runtime and adding to a table cell when a particular IF condition is not satisfied. The visibility property of the textboxes are set to false. When the user double clicks a particular table cell, the textbox should become visible(this idea was given by someone in this post). But I don't know how to proceed further now. How can I access the ID of each runtime textbox and make it visible in the javascript function? Where should the javascript function be placed? I have whatever code I have till now below: 'c is the table cell 'r is the table row Else ' if some condition is not satisfied here Dim tb As New TextBox tb.ID = "tb" + strdate ' make each textbox ID unique tb.Visible = False c.Attributes.Add("ondblclick", "ShowTextBox();") End If r.Cells.Add(c) 'adds each cell to row Next i table1.Rows.Add(r) 'add the row to the table Thanks, Gayathri |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |