Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. HeaderText doesn't appear [modified]

HeaderText doesn't appear [modified]

Scheduled Pinned Locked Moved ASP.NET
sysadminhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mr Wonderful
    wrote on last edited by
    #1

    Hi, I have the following part of datagrid <asp:TemplateColumn HeaderText="Select All"> <HeaderTemplate> <input type="checkbox" id="chkall" /> </HeaderTemplate> <ItemTemplate> <input type="checkbox" id="chk" runat="Server"/> </ItemTemplate> </asp:TemplateColumn> the problem HeaderText "Select All" doesn't appear, it just checkbox header appear here. how I can solve this problem. Regards.

    modified on Saturday, January 10, 2009 1:52 PM

    R R 2 Replies Last reply
    0
    • M Mr Wonderful

      Hi, I have the following part of datagrid <asp:TemplateColumn HeaderText="Select All"> <HeaderTemplate> <input type="checkbox" id="chkall" /> </HeaderTemplate> <ItemTemplate> <input type="checkbox" id="chk" runat="Server"/> </ItemTemplate> </asp:TemplateColumn> the problem HeaderText "Select All" doesn't appear, it just checkbox header appear here. how I can solve this problem. Regards.

      modified on Saturday, January 10, 2009 1:52 PM

      R Offline
      R Offline
      Reza Raad
      wrote on last edited by
      #2

      Try this: Select All

      Human knowledge belongs to the world

      1 Reply Last reply
      0
      • M Mr Wonderful

        Hi, I have the following part of datagrid <asp:TemplateColumn HeaderText="Select All"> <HeaderTemplate> <input type="checkbox" id="chkall" /> </HeaderTemplate> <ItemTemplate> <input type="checkbox" id="chk" runat="Server"/> </ItemTemplate> </asp:TemplateColumn> the problem HeaderText "Select All" doesn't appear, it just checkbox header appear here. how I can solve this problem. Regards.

        modified on Saturday, January 10, 2009 1:52 PM

        R Offline
        R Offline
        Rajdev Ramasamy
        wrote on last edited by
        #3

        Hi, Please try this:

        asp:TemplateColumn
        <HeaderTemplate>
        <input type="checkbox" id="chkall" Text="Select All" />
        </HeaderTemplate>
        <ItemTemplate>
        <input type="checkbox" id="chk" runat="Server"/>
        </ItemTemplate>
        </asp:TemplateColumn>

        or:

        asp:TemplateColumn
        <HeaderTemplate>
        <table>
        <tr>
        <td>Select All</td>
        </tr>
        <tr>
        <td>
        <input type="checkbox" id="chkall" />
        </td>
        </tr>
        </table>
        </HeaderTemplate>
        <ItemTemplate>
        <input type="checkbox" id="chk" runat="Server"/>
        </ItemTemplate>
        </asp:TemplateColumn>

        Regards, Rajdev K R

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups