Hi,
I have an ascx file with a gridview, and I need to change the header text of the gridview's column in the code-behind. Something like that:
foreach (DataControlFie ld col in GridView1.Colum ns)
{
col.HeaderText = GetString(col.H eaderText);
}
However, no matter where I place that code, the header texts return to their original value, and that's what's being displayed.
...
User Profile
Collapse
-
Gridview Inside User Control - Cannot Change Column Header Text
-
Using custom controls in xsl when transformation is in client-side
Hi,
I'm performing an xsl transformation in a page I built, and would like to use some custom controls in it (or asp controls, for that matter).
I looked this issue up, and understood that it can be done by adding the attribute "xmlns:tagname= "remove"" to the "xsl:stylesheet " node, then performing the transformation, removing that attribute from the resulting html string, and then creating...
No activity results to display
Show More