gridview - Get Telerik Grid columns Header Text -
i need rename grid headertext. grid generate using autogenerated columns.i getting data in datatable , assigning grid. after assigning grid using function called after databind() , format grid cells not headertext.
can me out problem?
foreach (gridcolumn column in grdtestcertificate.columns) { string[] strcolumn = column.headertext.split('|'); column.headertext = strcolumn[1]; }
it return 0 counts of columns.
aah got solutions,
foreach (gridcolumn column in grdtestcertificate.mastertableview.rendercolumns) { column.headertext = ""; } grdtestcertificate.rebind();
point answer if got solution.
Comments
Post a Comment