Drodown with Datagrid

G

govindaraj_200152

Hi,

I am using two Drodowns with ASP.NET Datagrid/(ASP.20 GridView) . What i want is , on selecting the first dropdown i want to populate the second dropdown based on the selection. The dropdown control is places in ItemTemplate.


<ItemTemplate>
<asp:DropDownList CssClass="dropdown" ID="ddl" DataTextField= "Desc"
DataValueField= "ID" Runat="server"
OnSelectedIndexChanged="ddl_SelectedIndexChanged()"/>
</ItemTemplate>

<ItemTemplate>
<asp:DropDownList CssClass="dropdown" ID="ddl2" DataTextField= "Desc"
DataValueField= "ID" Runat="server"
OnSelectedIndexChanged="ddl2_SelectedIndexChanged()"/>
</ItemTemplate>

On selecting the first drodown , i need to populate the second drodown...

Any links will be usefull.

Regards,
Govind

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top