Launching an event from a dropdownlist in a gridview while editing

Discussion in 'ASP .Net' started by katmagic, Dec 26, 2008.

  1. katmagic

    katmagic Guest

    I have added a dropdownlist to the <EditItemtemplate> portion of a gridview,
    and I want to capture the event when a user selects an item in the drop down
    list. I have added to the dropdownlist properties AutoPostback = true, and
    all of the following
    OnSelectIndexChanging="DropdownListCustomers_SelectedIndexChanged"
    OnSelectedIndexChanged="DropdownListCustomers_SelectedIndexChanged"
    OnTextChanged="DropdownListCustomers_SelectedIndexChanged"

    No matter what I do, DropDownListCustomers_SelectedIndexChanged does not get
    launched. How would I capture when a user changes this dropdownlist?
     
    katmagic, Dec 26, 2008
    #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. Kevin Spencer
    Replies:
    0
    Views:
    445
    Kevin Spencer
    Sep 13, 2004
  2. Mike P
    Replies:
    0
    Views:
    5,034
    Mike P
    Jun 2, 2006
  3. Andrea
    Replies:
    3
    Views:
    8,396
    Andrea
    Jun 8, 2006
  4. Replies:
    0
    Views:
    614
  5. et

    Using Dropdownlist in Gridview for editing purposes

    et, Jan 25, 2007, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    723
Loading...

Share This Page