The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a DataBoundGrid which contains checkbox as one of the Header column. when i check that check box then all the check boxes in that column will be checked. similarly when i uncheck that, all the check boxes in that column will be unchecked. The problem i got is when i check the check box in the header then all the check boxes will be checked it is o.k, but when the datasource of that grid is made null, all the data will be cleared, then also the check box in the column header is checked. How can i uncheck the checkbox through programatically.
I have a DataBoundGrid which contains checkbox as one of the Header column. when i check that check box then all the check boxes in that column will be checked. similarly when i uncheck that, all the check boxes in that column will be unchecked. The problem i got is when i check the check box in the header then all the check boxes will be checked it is o.k, but when the datasource of that grid is made null, all the data will be cleared, then also the check box in the column header is checked. How can i uncheck the checkbox through programatically.
-Thanks Deepak
Hey Deeepak, I may have not have a solution to yr Question, however you have a soloution to my question..so kindly help..here it goes.. Could you help me out as to how to a add checkbox column along with a checkbox at the header...I bind my gridBoundDataGrid using a dataset at runtime..
HAhaneefm Syncfusion Team April 20, 2007 06:17 PM UTC
Here is a minimal sample that shows you "How can i uncheck the checkbox through programatically?" CB_in_Header_CS.zip
Best regards, Haneef
PKPradeep KumarApril 21, 2007 05:41 AM UTC
Hi, Thanks for your samples. The sample works fine to check or uncheck the checkboxes dynamically which are in the grid. Here my requirement is how can i uncheck the check box which is defined as a column header dynamicaly. which means i want to change the column header value dyanamically.
Thanks -Deepak
ADAdministrator Syncfusion Team April 22, 2007 09:19 PM UTC
Here is that sample modified to allow you to change the CheckBoxValue for the header cell in the GridDataBoundGrid from a button handler.