I am having such a hard time adding elements to the grid... I have made the grid bind to a custom BindList, but when adding elements to my list I get a exception. Do you have a example binding to BindList, or better yet I just need an unbound example...
Value of '101' is not valid for 'Value'. 'Value' must be between 'Minimum' and 'Maximum'.
Parameter name: Value
| mGridData = new BindingList<SentenceViewerGridData>(); |
| mRadGridView.DataSource = mGridData; |
| foreach (Element sentence in elementArray) |
| { |
| mGridData.Add(new SentenceViewerGridData(sentence.Field[0], sentence.Field[1])); |
| } |
Value of '101' is not valid for 'Value'. 'Value' must be between 'Minimum' and 'Maximum'.
Parameter name: Value