By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,971 Members | 1,467 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,971 IT Pros & Developers. It's quick & easy.

SelectedIndex Change Event for DropDownList Inside GridView

P: 111
I am having dropdownlist inside gridview.

When the dropdownlist selectedindex change an event should fire.

What is the event for his.

I also want to get the dropdownlist event fired row number

<asp:GridView ID = "gvMaterials" runat = "server" AutoGenerateColumns = "false">
<asp:TemplateField HeaderText="MaterialType">
<ItemTemplate >
<asp:DropDownList ID = "ddlMaterialType" runat = "server" Width = "165px" OnSelectedIndexChanged="ddlMaterialType_SelectedIn dexChanged" ></asp:DropDownList>

<asp:TemplateField HeaderText="MaterialName">
<ItemTemplate >
<asp:DropDownList ID = "ddlMaterialName" runat = "server" Width = "165px" ></asp:DropDownList>

Dec 12 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.