Dropdown in Datagrid (OnSelectedIndexChanged)

The eternal dropdown in a datagrid...
I want to be able to change the value of a dropdownlist in a row, and capture that change...
I think I have set up the method, but the "SelectedIndexChanged" method never gets called!!

I have found several examples of how to do this in C#,
but none of them seem to be working.

here is my aspx:
<asp:TemplateColumn HeaderText="Party Type">
            <asp:DropDownList runat="server" id="partyTypeDD" Font-Names="Verdana, Arial, sans-serif" AutoPostBack="true" OnSelectedIndexChanged='<%# partygrid_SelectedIndexChanged %>' DataSource='<%# GetPartyTypeList() %>' DataTextField="dictionary_name" DataValueField="dictionary_code" >

here is my codebehind:

protected void partygrid_SelectedIndexChanged(object sender, System.EventArgs e)
        // I never get here!!!!
      DropDownList list = (DropDownList)sender;
      String partyTypeValue = list.SelectedValue.ToString();
      String partyTypeiValue = list.SelectedIndex.ToString();


Do I need something like either of these to "wire" the event to the handling method???

//this.partygrid.SelectedIndexChanged += new System.EventHandler(this.partygrid_ItemDataBound);
//this.partyTypeDD.SelectedIndexChanged += new System.EventHandler(this.partygrid_SelectedIndexChanged);

thanks for any help!!!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

have you tried this?

<asp:TemplateColumn HeaderText="Party Type">
          <asp:DropDownList runat="server" id="partyTypeDD" Font-Names="Verdana, Arial, sans-serif" AutoPostBack="true" OnSelectedIndexChanged="partygrid_SelectedIndexChanged" DataSource='<%# GetPartyTypeList() %>' DataTextField="dictionary_name" DataValueField="dictionary_code" >

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial

you do not need the code delimiters around the name of the function that is called when using AutoPostBack feature.  PeterFearn is correct

OnSelectedIndexChanged='<%# partygrid_SelectedIndexChanged %>'
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.