Gridview-checkbox
-
Hi All, There is two column in Gridview. First is checkbox and second is textbox. when i checkbox is check, then textbox visible should be false. else i have to make textbox visible true. got it... if checkbox.checked= true then textbox.Visible= false else textbox.Visible= true end if so...problem is i am not getting the event of checkbox... plz can u send me code..
-
Hi All, There is two column in Gridview. First is checkbox and second is textbox. when i checkbox is check, then textbox visible should be false. else i have to make textbox visible true. got it... if checkbox.checked= true then textbox.Visible= false else textbox.Visible= true end if so...problem is i am not getting the event of checkbox... plz can u send me code..
DataGridDemo[^] Look at the section titled Checkboxes and Textboxes
I know the language. I've read a book. - _Madmatt
-
DataGridDemo[^] Look at the section titled Checkboxes and Textboxes
I know the language. I've read a book. - _Madmatt
Thanks for your replay...
-
Hi All, There is two column in Gridview. First is checkbox and second is textbox. when i checkbox is check, then textbox visible should be false. else i have to make textbox visible true. got it... if checkbox.checked= true then textbox.Visible= false else textbox.Visible= true end if so...problem is i am not getting the event of checkbox... plz can u send me code..
if u want disable the textbox which is in grid acco. to checkbox then you should write this code for i=0 to gridview.row.count-1 if ctype(gridview.rows(i).findcontrol("checkbox"),checkbox).checked=true then ctype(gridview.rows(i).findcontrol("textbox"),visible).checked=false else ctype(gridview.rows(i).findcontrol("textbox"),visible).checked=false end if next