how to filter dropdown inside asp repeater?

ahmed

New Member
i want to filter a combobox inside asp repeater?i have this dropdownlist\[code\]<asp:DropDownList ID="ddAcademicDegree" runat="server" Width="256px" SelectedValue ='http://stackoverflow.com/questions/15468880/<%# Bind("EdLevel") %>' CssClass="GeneralFont" DataTextField="Description" DataValueField="IDNo" AutoPostBack="True" DataSourceID="SqlDataSource2"> </asp:DropDownList>\[/code\]then i want to filter the next dropdown base on what you selected to the first dropdown\[code\]<asp:DropDownList ID="ddDegree" runat="server" Width="256px" SelectedValue ='http://stackoverflow.com/questions/15468880/<%# Bind("DegreeID") %>' CssClass="GeneralFont" DataTextField="Description" DataValueField="IDNo" DataSourceID="SqlDataSource3"> </asp:DropDownList>\[/code\]i have this query how can i use the first dropdown to filter the second dropdown?\[code\]<asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:HRIS_ConnectionString %>" SelectCommand="select 0 as IDNo,'' as Description union all select code as IDNo,Description from degree order by idno" ProviderName="<%$ ConnectionStrings:HRIS_ConnectionString.ProviderName %>"> </asp:SqlDataSource>\[/code\]thanks!
 
Back
Top