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. Grid View Column Width Problem

Grid View Column Width Problem

Scheduled Pinned Locked Moved ASP.NET
helpcss
2 Posts 2 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.
  • B Offline
    B Offline
    Binod K
    wrote on last edited by
    #1

    Hi, In my Grid view i am using One radio button field to select record and one Check box field to indicate Status. I have give header of Radio button as "Select", i want this column should occupy minimum space. I tried all the option, but my problem didnt solved <asp:TemplateField HeaderText="Select" HeaderStyle-Width="10px" ControlStyle-Width="10px" ItemStyle-Width="10px" > <ItemTemplate> <input name="MyRadioButton" type="radio" value='<%# Eval("RejectId") %>' /> </ItemTemplate> </asp:TemplateField> Any one can help me. Thanks

    Binod K. (Miles to go before I sleep)

    V 1 Reply Last reply
    0
    • B Binod K

      Hi, In my Grid view i am using One radio button field to select record and one Check box field to indicate Status. I have give header of Radio button as "Select", i want this column should occupy minimum space. I tried all the option, but my problem didnt solved <asp:TemplateField HeaderText="Select" HeaderStyle-Width="10px" ControlStyle-Width="10px" ItemStyle-Width="10px" > <ItemTemplate> <input name="MyRadioButton" type="radio" value='<%# Eval("RejectId") %>' /> </ItemTemplate> </asp:TemplateField> Any one can help me. Thanks

      Binod K. (Miles to go before I sleep)

      V Offline
      V Offline
      vimal_yet
      wrote on last edited by
      #2

      Try with style tag style=" height: 21px; width: 29px;" :)

      If U Get Errors U Will Learn If U Don't Get Errors U Have Learnt

      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