Client-side scripting from a radio button

Discussion in 'ASP .Net' started by Eldon Ferran de Pol, Dec 15, 2003.

  1. I'm trying to bind some client-side script using...

    rb.Attributes.Add("OnCheckedChanged", "clientfunction();")

    For some reason the client-side cript is never being
    called. I've done this before from buttons without any
    problems.

    Any ideas?
     
    Eldon Ferran de Pol, Dec 15, 2003
    #1
    1. Advertisements

  2. As far as I know, "OnCheckChanged" isn't a valid client-side event
    handler... You might want to use "onClick" or "onChange" instead.

    Hope this helps,

    Mun




    "Eldon Ferran de Pol" <> wrote in message
    news:006e01c3c31f$cd43f010$...
    >
    > I'm trying to bind some client-side script using...
    >
    > rb.Attributes.Add("OnCheckedChanged", "clientfunction();")
    >
    > For some reason the client-side cript is never being
    > called. I've done this before from buttons without any
    > problems.
    >
    > Any ideas?
     
    Munsifali Rashid, Dec 15, 2003
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. yaya coco
    Replies:
    1
    Views:
    539
    Rajesh Tiwari
    Jul 4, 2003
  2. walterd
    Replies:
    1
    Views:
    3,642
    Eliyahu Goldin
    Jul 20, 2004
  3. UJ
    Replies:
    3
    Views:
    814
    Eliyahu Goldin
    Jul 20, 2005
  4. bredal Jensen

    Access a radio button "Checked" property on the client side.

    bredal Jensen, Apr 26, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    306
    Vidar Petursson
    May 14, 2004
  5. Hiten
    Replies:
    1
    Views:
    948
    Vidar Petursson
    May 26, 2004
  6. John Hopper

    Disabling radio button client - side

    John Hopper, Feb 2, 2005, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    271
    Guess
    Feb 22, 2005
  7. ~Maheshkumar.R

    Enabling/ Disabling Radio button in client side = Asp.net

    ~Maheshkumar.R, Mar 22, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    321
    ~Maheshkumar.R
    Mar 22, 2005
  8. Kathryn
    Replies:
    9
    Views:
    395
    William Morris
    Oct 17, 2003
Loading...