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. Radio Button problem

Radio Button problem

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netquestion
3 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.
  • K Offline
    K Offline
    krishnaveer
    wrote on last edited by
    #1

    Hi Guys Using ASP.NET 2.0 and Ajax Toolkit I am developing an application In that application i am using a radio button in data list After Running its working fine But the problem is that if i checked that radio button then we can not unchecked that radio button so what will be the solution for that? please help me Thank in Advance

    krishna veer singh

    R 1 Reply Last reply
    0
    • K krishnaveer

      Hi Guys Using ASP.NET 2.0 and Ajax Toolkit I am developing an application In that application i am using a radio button in data list After Running its working fine But the problem is that if i checked that radio button then we can not unchecked that radio button so what will be the solution for that? please help me Thank in Advance

      krishna veer singh

      R Offline
      R Offline
      r a m e s h
      wrote on last edited by
      #2

      When you use radio button in GridView or DataList, then all the radio buttons will be selectable and not only one. Though you have given a GroupName for the radio buttons, it will not work in GridView and DataList. The reason is the GroupName will work if all the radio buttons in a group have the same 'Name' property. But there will be distinct 'Name' will be generated for all radio buttons in the DataList/GridView. Try the solution given in the following link: Adding a GridView Column of Radio Buttons[^]

      K 1 Reply Last reply
      0
      • R r a m e s h

        When you use radio button in GridView or DataList, then all the radio buttons will be selectable and not only one. Though you have given a GroupName for the radio buttons, it will not work in GridView and DataList. The reason is the GroupName will work if all the radio buttons in a group have the same 'Name' property. But there will be distinct 'Name' will be generated for all radio buttons in the DataList/GridView. Try the solution given in the following link: Adding a GridView Column of Radio Buttons[^]

        K Offline
        K Offline
        krishnaveer
        wrote on last edited by
        #3

        Ya i Know but i want many of them will be selected if i wants to uncheck radio button i am not able

        krishna veer singh

        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