Hi,i have an editor.aspx where i have a table named sbaTable. That table is dynamically filled with rows in my code page editor.aspx.vb...On every row I have one checkbox and one textbox.. what i want to do is to disable textbox whenever checkbox on same row is checked=true!
editor.aspx.vb i have a loop that counts as many rows as i need(works fine)..
Private Sub PopulateGrid()
...create tablecell "tcOk"
Dim chkOK as new checkbox
chkOK.id = "ok-" + tdindex.text
chkOK.autopostback = true
''chkOK.oncheckedchanged" doesnot exist here for some reason(OnCheckedChanged exists in designer mode)!? that is why i tried with handlern below...
addhandler chkOK.checkedchanged, adressof chk_OncheckedChanged --
...create tablecell "tcNote"
Dim txtNote as new textbox
txtNote.id = "note-" + tdindex.text
...addrows and cells to the table mm..
Public sub chk_OncheckedChanged(ByVal sender As Object,ByVal e As EventArgs)
Dim checkBox as checkbox = Ctype(sender, CheckBox)
Dim idString as string = checkbox.id
Problem = chk_OnCheckedChanged is never hit...can i do this the way i am trying oris there another solution??
Thanks in advance