Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<
telerik:GridBoundColumn
UniqueName
=
"FirstName"
DataField
HeaderText
>
</
protected
void
Page_Load(
object
sender, EventArgs e)
{
string
header = (RadGrid1.MasterTableView.GetColumn(
)
as
GridBoundColumn).HeaderText;
//accessing column header text
(RadGrid1.MasterTableView.GetColumn(
GridBoundColumn).HeaderText =
"new header"
;
//changing column header
}
RadGrid1_PreRender(
if
(RadGrid1.EditIndexes.Count > 0)
RadGrid1.MasterTableView.GetColumn(
).EditFormHeaderTextFormat =
"new header text"
RadGrid1.Rebind();