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
Band: How to upgrade Band to WebDataGrid

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 202 'Infragistics.Web.UI.GridControls.GridRecord' does not contain a definition for 'Band' and no extension method 'Band' accepting a first argument of type 'Infragistics.Web.UI.GridControls.GridRecord' could be found (are you missing a using directive or an assembly reference?)

Below error is coming in Code while fixing old code with new control:

for (cnt = upd; cnt < totalCol; cnt++)
                        if (e.Row.DataChanged.ToString() != "Deleted") 
                            if (e.Row.Band.Columns[cnt].Header.Caption == "Updated By" && e.Row.Band.Columns[cnt].DataType == "System.String" && e.Row.Cells[cnt + 1].IsEditable() == false)
                                e.Row.Cells[cnt].Value = Context.User.Identity.Name;
                            else if (e.Row.Band.Columns[cnt].Header.Caption == "Last Update Date" && e.Row.Band.Columns[cnt].IsEditable() == false)
                                e.Row.Cells[cnt].Value = DateTime.Now;
                        if (e.Row.DataChanged.ToString() == "Added" || (e.Row.DataChanged.ToString() == "Modified" && dr[cnt].ToString() == "Added"))
                            e.Row.Cells[cnt].Tag = e.Row.Cells[cnt].Value;
                        if (Update == "Y")
                            dr[cnt - 1] = e.Row.Cells[cnt].Value;
                            dr[cnt] = e.Row.Cells[cnt].Value;

Parents Reply Children
No Data