Results 1 to 3 of 3

Thread: Disable Option List from Javascript

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2002
    Location
    Game Over, Man!
    Posts
    36

    Unhappy Disable Option List from Javascript

    Can someone provide some code demonstrating how to disable an ASP.Net option list control from the client-side using javascript? I can disable textbox and select controls by using the following:

    document.myForm.myTextBoxCtrl.disabled = true
    document.myForm.mySelectCtrl.disabled = true

    But this does not work for the option list control. Please help.

    Thanks

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    By Option List, do you mean RadionButtonList ?

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2002
    Location
    Game Over, Man!
    Posts
    36
    Yes. I apologize for the mistake I am referring to a RadioButtonList.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width