or
public override Type GetCellType(GridViewRowInfo row) { if (row is GridViewTableHeaderRowInfo) { return typeof(CheckBoxHeaderCell); } return base.GetCellType(row); }

Dim objfrmHome As New frmHome objfrmHome.gridViewHome.DataSource = Nothing AssetBusinessLogic.GetDataToFillGridView(_assetChecklist.Asset.Project.ProjectID) objfrmHome.gridViewHome.MasterTemplate.DataSource = AssetBusinessLogic.aTLi objfrmHome.gridViewHome.Refresh() objfrmHome.gridViewHome.MasterTemplate.Refresh() objfrmHome.gridViewHome.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill i am using this code but the while loading the details from database i am getting the lattest details. but after binding to grid the grid is not refreshed.
i have stucked over here.
Thanks in advance
private void ActiveRegion_Click(object sender, RegionClickEventArgs args) { var fileId = Convert.ToInt32(args.Element.ActiveRegion.Attributes); _tableFilesBindingSource.Position = SearchFilesTableBindingSource(fileId); _isOnSomeSerieItem = true; }... private void _radChart1_MouseClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right && _isOnSomeSerie) { GetFileGridMenu().Show(_radChart1, e.X, e.Y); _isOnSomeSerieItem = false; } }