void CheckboxSelModel_OnBeforeClientInit(Observable sender)
{
base.OnBeforeClientInit(sender);
if (this.SingleSelect)
{
this.HideCheckAll = true;
}
if (this.HideCheckAll && !this.DesignMode && !RequestManager.IsAjaxRequest)
{
this.Header = " ";
this.ResourceManager.RegisterClientStyleBlock("hide-checkall-fix" + this.ParentComponent.ClientID.GetHashCode(), "#".ConcatWith(this.ParentComponent.ClientID, " .x-grid3-hd-checker{background: transparent !important;}"));
}
}