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. Advertising

  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. Advertising

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. walterd
    Replies:
    1
    Views:
    3,466
    Eliyahu Goldin
    Jul 20, 2004
  2. UJ
    Replies:
    3
    Views:
    673
    Eliyahu Goldin
    Jul 20, 2005
  3. 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:
    231
    Vidar Petursson
    May 14, 2004
  4. Hiten
    Replies:
    1
    Views:
    626
    Vidar Petursson
    May 26, 2004
  5. Kathryn
    Replies:
    9
    Views:
    209
    William Morris
    Oct 17, 2003
Loading...

Share This Page