Header on 2010 checkboxlist control
I am placing a checkboxlist control on a new C# asp.net 2010 webform. I would like the checkboxlist control to have a header display on it. I see the control has a property called HasHeader that can be set to true. However I do not know how to tie that property to make the checkboxlist control have a header on it. Thus can you tell me how to put a header on the top part of the checkboxlist control?
Javeed M ShaikhPosted Oct 21, 2011, 10:27 PM
I think the HasHeader property is valid when you are creating a custom control, you can create one and use that property or you can place the CheckBoxList in the GridView and you can use the grid header to show as CheckBoxList header.
Please do not forget to mark "Accepted Answer".
Prabhu RajaPosted Oct 22, 2011, 1:25 AM
I suggest you to Place your checkedListBox Control, inside of Group Box and change the Group Box Height and Width with related to CheckedListBox control's Height and width.
and change Text Property of GroupBox to Provide Header for you CheckedListBox Control. So, it will look like a Header on the top part of the checkedlistbox control.