Raise Event from Javascript in Web User Control

Discussion in 'ASP .Net Web Controls' started by Jim M, Jan 31, 2004.

  1. Jim M

    Jim M Guest

    I finally got a user control working that has a HTML drop down list.

    The user control is held in a simple parent test page.

    The onchange is set to call a javascript function DropChanged() which is in
    my user control. I want to keep the javascript in the user control so that
    I can add it to many pages.

    But now, how do I signal the parent page that my drop down list changed and
    pass back the selectedIndex of the drop down?

    I hope I have not travelled too far down the wrong path. Thanks in advance.
    Jim M, Jan 31, 2004
    #1
    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. Thanh Nguyen
    Replies:
    0
    Views:
    432
    Thanh Nguyen
    Apr 1, 2004
  2. Tonix
    Replies:
    0
    Views:
    407
    Tonix
    Aug 24, 2004
  3. Replies:
    1
    Views:
    1,031
  4. Tonix
    Replies:
    0
    Views:
    166
    Tonix
    Aug 24, 2004
  5. ABC

    How to raise an event from web user control in C#?

    ABC, Nov 4, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    140
Loading...

Share This Page