Setting Javascript as an argument to new eventhander?

Discussion in 'ASP .Net Web Controls' started by JuneCleaver, Sep 22, 2004.

  1. JuneCleaver

    JuneCleaver Guest

    I have a combobox on an asp.net page. I would like to enable or
    disable other controls on this page dependent upon what is selected in
    the combobox.

    My combobox is created dynamically on page_load. I would like to set
    its SelectedIndexChanged to some javascript that I have defined in the
    HTML portion of my ASPX.

    I do not want to go to the server to handle my 'onchanged' event.

    Any ideas on how to do this? Or maybe you have a better way to
    accomplish what I would like to do?

    Thanks,
    HH
    JuneCleaver, Sep 22, 2004
    #1
    1. Advertising

  2. JuneCleaver

    Alex Homer Guest

    Alex Homer, Sep 28, 2004
    #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. Bhushit Joshipura

    defaulting argument to previous argument

    Bhushit Joshipura, Dec 29, 2003, in forum: C++
    Replies:
    5
    Views:
    400
  2. Ben Kial
    Replies:
    1
    Views:
    624
    Eric Enright
    Nov 15, 2004
  3. S?ren Gammelmark
    Replies:
    1
    Views:
    1,866
    Eric Sosman
    Jan 7, 2005
  4. nw
    Replies:
    0
    Views:
    298
  5. Replies:
    2
    Views:
    437
    Thomas 'PointedEars' Lahn
    Mar 11, 2008
Loading...

Share This Page