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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -