BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
foreach(GridVisibleColumnDescriptor cd in this.gridGroupingControl1.TableDescriptor.VisibleColumns) { // cd.Name has column name //this.gridGroupingControl1.TableDescriptor.Columns[cd.Name].FieldDescriptor has the filed }But if you are in some event, there may be a simpler way to get at this information through the event args.
>foreach(GridVisibleColumnDescriptor cd in this.gridGroupingControl1.TableDescriptor.VisibleColumns) >{ > // cd.Name has column name > //this.gridGroupingControl1.TableDescriptor.Columns[cd.Name].FieldDescriptor has the filed >} >> >But if you are in some event, there may be a simpler way to get at this information through the event args. I would actually like to di it in an event that''s caught when a row is deleted from a GridDataBoundGrid. By the way, can you also tell me which event handler is suitable when deleting a row. I''m not sure if the RowsDeleted is the correct one to use
foreach(GridBoundColumn col in this.grid.GridBoundColumns) { if(col.StyleInfo.CellType == "ComboBox") { Console.WriteLine("This is a combobox"); } }