Hey there. So I want a user to select a customer. Eg ABSA bank. Then select a Branch. Depending on which customer they select. Their will only be certain branches they can select from. Once they have done this. They will select a contact at the branch. Again depending on which branch they selected. Here is the code for the drop down.
<td>
Customer:
</td>
<td>
<asp:dropdownli st id="CustomerdD " runat="server" datatextfield=" CustomerName" datavaluefield= "CustomerID " xmlns:asp="#unk nown">
DataSourceID="L inqDataSourceCu stomers">
<asp:listitem selected="True" value="-1"></asp:listitem>
</asp:dropdownlis t>
</td>
<tr>
<td>
Branch:
</td>
<td>
<asp:dropdownli st id="BranchdD" runat="server" datatextfield=" BranchName" datavaluefield= "BranchID" xmlns:asp="#unk nown">
DataSourceID="L inqDataSourceBr anches">
<asp:listitem ></asp:listitem>
</asp:dropdownlis t>
</td>
</tr>
<tr>
<td>
Contact:
</td>
<td>
<asp:dropdownli st id="ContactdD" runat="server" datatextfield=" Name" datavaluefield= "ContactID" xmlns:asp="#unk nown">
DataSourceID="L inqDataSourceCo ntacts">
<asp:listitem ></asp:listitem>
</asp:dropdownlis t>
</td>
But then I'm not sure what to do.... Any help or links would be appreciated. :) thanks
<td>
Customer:
</td>
<td>
<asp:dropdownli st id="CustomerdD " runat="server" datatextfield=" CustomerName" datavaluefield= "CustomerID " xmlns:asp="#unk nown">
DataSourceID="L inqDataSourceCu stomers">
<asp:listitem selected="True" value="-1"></asp:listitem>
</asp:dropdownlis t>
</td>
<tr>
<td>
Branch:
</td>
<td>
<asp:dropdownli st id="BranchdD" runat="server" datatextfield=" BranchName" datavaluefield= "BranchID" xmlns:asp="#unk nown">
DataSourceID="L inqDataSourceBr anches">
<asp:listitem ></asp:listitem>
</asp:dropdownlis t>
</td>
</tr>
<tr>
<td>
Contact:
</td>
<td>
<asp:dropdownli st id="ContactdD" runat="server" datatextfield=" Name" datavaluefield= "ContactID" xmlns:asp="#unk nown">
DataSourceID="L inqDataSourceCo ntacts">
<asp:listitem ></asp:listitem>
</asp:dropdownlis t>
</td>
But then I'm not sure what to do.... Any help or links would be appreciated. :) thanks
Comment