Error Message & ReadOnly

Hi, On GridGrouingControl : 1. How to check record in GridGroupingControl and display Error Message on Records where errors have been found ? 2. How to make a GridGroupingControl ReadOnly, so the user cannot change any value in the grid, but data can be changed programmatically ? On GridDataBoundGrid : 3. How to check row in GridDataBoundGrid and display Error Message on Rows where errors have been found ? 4. How to make a GridDataBoundGrid ReadOnly, so the user cannot change any value in the grid, but data can be changed programmatically ? Best regards, Jamâl-Dine DISSOU

2 Replies

AD Administrator Syncfusion Team June 6, 2005 04:07 PM UTC

Here is forum thread that has a sample that displays error indicators for both a GridGroupingControl and a GridDataBoundGrid. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=21730 You can make a GridGroupingCOntrol ReadOnly code like: this.gridGroupingControl1.TableControl.Model.ReadOnly = true; Then to make a programatic change, you can first call this.gridGroupingControl1.TableControl.Model.IgnoreReadOnly = true, then make your change, and then set this.gridGroupingControl1.TableControl.Model.IgnoreReadOnly = false; With a GriddataBoundGrid, you cn do similar things, settin: this.gridDataBoundGrid1.Model.ReadOnly = true; and then using this.gridDataBoundGrid1.Model.IgnoreReadOnly to temporarily turn it off.


PD Prof DISSOU Jamâl-Dine June 7, 2005 12:07 PM UTC

Hi Clay, Thanks a lot Jamâl-Dine DISSOU

Loader.
Up arrow icon