Hi, radgrid
I wish to get the value of the datafield of a column programmatically, however when I type Columns[0]., intellisence
does not show the datafield option. I have to use the Uniquename instead, however this will not always be the same as the datafield and thus could cause problems. Please help.
GridFilteringItem item = MasterTableView.GetItems(GridItemType.FilteringItem)[0] as GridFilteringItem;
for (int i = 0; i < Columns.Count - 1; i++)
{
Type colType = Columns[i].DataType;
Telerik.Web.UI.GridColumn column = Columns[i];
string colName = MasterTableView.Columns[i].UniqueName;
if (colType == typeof(System.String) && (Columns[i].Visible))
{
I wish to get the value of the datafield of a column programmatically, however when I type Columns[0]., intellisence
does not show the datafield option. I have to use the Uniquename instead, however this will not always be the same as the datafield and thus could cause problems. Please help.
GridFilteringItem item = MasterTableView.GetItems(GridItemType.FilteringItem)[0] as GridFilteringItem;
for (int i = 0; i < Columns.Count - 1; i++)
{
Type colType = Columns[i].DataType;
Telerik.Web.UI.GridColumn column = Columns[i];
string colName = MasterTableView.Columns[i].UniqueName;
if (colType == typeof(System.String) && (Columns[i].Visible))
{