I have been try to center a dynamically create checkbox column with the checkbox centered. If you create it in design time, it is centered. When I create it dynamically in the Page_Load event I get the checkbox left justified. My code behind is in VB. I created it as follows:
Dim checkBoxColumn As NewTreeListCheckBoxColumn()
checkBoxColumn.DataField = "Accessibility"
checkBoxColumn.UniqueName = "Accessibility"
checkBoxColumn.HeaderText = "Accessibility"
checkBoxColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center
It works, just not centered. Any ideas as to why I cannot center the checkbox?