This is a migrated thread and some comments may be shown as answers.

Exception when binding

1 Answer 36 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 03 Dec 2007, 05:01 PM
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...


         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

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 04 Dec 2007, 02:18 PM
Hi Mike,

Please view the answer we have just posted in you previous post.
 

Kind regards,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Mike
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or