public DataViewerCtl(string _name, DataSet _ds, string _title, bool _isManaged, bool ifBrief, EntitlementCtl _entitlementCtl) { InitializeComponent(); entitlementCtl = _entitlementCtl; isManaged = _isManaged; name = _name; title = _title; //Text = title; if (_ds != null) ds = _ds; }
public DataViewerChkBoxCtl(string _name, DataSet _ds, string _title, bool _isManaged, bool ifBrief, EntitlementCtl _entitlementCtl) { InitializeComponent(); entitlementCtl = _entitlementCtl; isManaged = _isManaged; name = _name; title = _title; if (_ds != null) ds = _ds; // Handle Query Cell Info to display the values in CheckBox column. this.gridDataBoundGrid1.Model.QueryCellInfo += new GridQueryCellInfoEventHandler(Model_QueryCellInfo); // Handle SaveCellInfo to save changes that are made by the user in the CheckBox. this.gridDataBoundGrid1.Model.SaveCellInfo += new GridSaveCellInfoEventHandler(Model_SaveCellInfo); }