User Profile

Collapse

Profile Sidebar

Collapse
Amit00
Amit00
Last Activity: Jul 29 '09, 07:42 AM
Joined: Jul 31 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Gridview Inside User Control - Cannot Change Column Header Text

    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.
    ...
    See more | Go to post

  • 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...
    See more | Go to post
No activity results to display
Show More
Working...