I have a grid which I'm populating via pivot table in the code behind...therefore the columns are set to auto-generate.
I'd like to modify the header template so that the values are displayed as hyperlinks...I'll need to be able to programmatically create the hyperlink for each column using the header template text as a value.
Can you show me how to do this? I've gotten access to the header columns using the following Grid_PreRender event
I just don't know what I need to do in the foreach loop to change the header text to make it a hyperlink of the value.
Thanks for the help =)
I'd like to modify the header template so that the values are displayed as hyperlinks...I'll need to be able to programmatically create the hyperlink for each column using the header template text as a value.
Can you show me how to do this? I've gotten access to the header columns using the following Grid_PreRender event
protected
void
RadGrid1_PreRender(
object
sender, EventArgs e)
{
RadGrid grid = ((RadGrid)sender);
foreach
(GridItem header
in
grid.MasterTableView.GetItems(GridItemType.Header))
{
}
}
I just don't know what I need to do in the foreach loop to change the header text to make it a hyperlink of the value.
Thanks for the help =)