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 337 The name 'AllowUpdate' does not exist in the current context
Below error is there while fixing the code:
uGrid.DisplayLayout.Bands[0].AllowUpdate = AllowUpdate.Yes; foreach (DataRow dr in ds.Tables[0].Rows) { uGrid.DisplayLayout.Bands[0].Columns[colCount].Header.Caption = dr[1].ToString(); if (uGrid.DisplayLayout.Bands[0].Columns[colCount].Type != ColumnType.DropDownList) { uGrid.DisplayLayout.Bands[0].Columns[colCount].FieldLen = Int32.Parse(dr[3].ToString());
Hi,
The WebDataGrid and WebHierarchicalDataGrid doesn't have a property for enabling or disabling updating. Instead, it has a CellEditing Behavior which allows updating the grid. It can also be used to access CellEditingClientEvents like EnteringEditMode. This event can be cancelled to prevent the entering of edit mode depending on the condition you have set.
More details and code samples you can find on the following thread, where this is already discussed:
http://www.infragistics.com/community/forums/t/92827.aspx
Please let me know if you have further questions on that.
I'm just following up to see if you need any further assistance with this issue. If so please let me know.