I am converting Infragistics 2010 v2 CLR3.5 to Infragistics 2014 v2 using 4.5 CLR using Visual Studio 2013 Professional Update 4. I am getting following error while building the project. Please reply immediately..........
Error 322 The type or namespace name 'ValueList' could not be found (are you missing a using directive or an assembly reference?)
Below error is there while fixing the code:
if (ds.Tables.Count > 2) { foreach (DataTable dt in ds.Tables) { if (uGrid.Bands[0].Columns.FromKey(dt.TableName) != null) { ValueList lstTable = uGrid.Bands[0].Columns.FromKey(dt.TableName).ValueList; lstTable.DataSource = dt.DefaultView; lstTable.DataMember = dt.TableName;
Hi,
WebDataGrid's Columns does noe expose ValueList property as UltraWebGrid does.
You need to access the DropDownEditor you use to edit that column and use its .Items property to get a list of the items listed. Please let me know if you have further questions on that.
Hi, Can you please explain more with example of DropDownEditor.......and how I can try to fix related to the the code I pasted.
I suggest that you first refer to this online sample that demonstrate how one can benefit from using DropDown editors.:
http://www.infragistics.com/samples/aspnet/data-grid/dropdown-editors
Then it is best to write your code from scratch based on your goals with the DropDown editor. You can update this case with any issue you are facing with implermenting the DropDown editors.
Hello,
I'm just following up to see if you need any further assistance with this issue. If so please let me know.