How to disable a radio buttons in asp.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nudrat
    New Member
    • Aug 2007
    • 38

    How to disable a radio buttons in asp.net

    Hi All,
    I have two groups of radion button sets. based on selection of one group made the other group radio buttons disable. suppose some one has selected one radion button from a group, so one button will get disabled from other groups.
    i have written following codes.
    actually its working, but its not looking good.
    sub checkChanged(2 parameterrs are here)
    [code=cpp]
    {
    if (radiobutton1.c hecked)
    {
    radiobutton2.ch ecked=true
    radiobutton2.at tribute.add("di sable","true")
    }
    }[/code]
    Last edited by Frinavale; Dec 13 '07, 06:53 PM. Reason: Added [code] tags
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Define not looking good...

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      What is not working?
      Could you please explain what is going wrong?

      Comment

      Working...