Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have GridView with Checkbox & two Textbox cells in it. Initially when Checkbox is uncheck, Textbox looks like label and after checkbox check that columns in respective row turns in to editable textbox using JavaScript. Also if header checkbox is checked then all checkbox will be checked and all textboxes will be enabled & vice versa. I am using JavaScript for this. I search a lot on net but can’t find proper solution.
Thanks in advance.....
Posted
Comments
Umesh AP 3-Sep-15 8:22am    
Hi All, shortly i have GridView with CheckBox and Two TextBox columns. My requirement
1) When header checkbox in GridView is selected, all checkbox in column will be checked and textbox will be enabled and vice versa.
2) When any checkbox is checked/unchecked then textbox in that row will be enabled/disabled.
Please suggest.
Umesh AP 8-Sep-15 0:42am    
Hi All, Is it possible through JavaScript.
I achieve same functionality by code behind but it takes more time to execute.
Pls suggest.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900