Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1620
AllowUpdate: showing error while upgrading from UltraWebGrid to WebDataGrid..
posted

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());