I am able to change the values of all the controls in my telerik grid in the ItemDataBound method except those in the HeaderTemplate
How can I access those controls?
<telerik:GridTemplateColumn UniqueName="TemplateColumnOne" >
<HeaderStyle ></HeaderStyle>
<HeaderTemplate >
<asp:Label ID="lblToolTip" runat="server" onclick="showToolTip(this);"></asp:Label>
</HeaderTemplate>
<ItemTemplate>
<asp:Label id="lblPermitNumber" runat="server"></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
protected void Grid_ItemDataBound(object sender, GridItemEventArgs e)
{
var item = e.Item as GridDataItem;
TableCell documentColumn = item["TemplateColumnOne"];
var lblPermitNumber=(Label)documentColumn.FindControl("lblPermitNumber");
lblPermitNumber.Text = "some text;
// how do you access LblToolTip ?
}