468,514 Members | 1,498 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,514 developers. It's quick & easy.

selection dependent on previous selection

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:dropdownlist id="CustomerdD" runat="server" datatextfield="CustomerName" datavaluefield="CustomerID" xmlns:asp="#unknown">
DataSourceID="LinqDataSourceCustomers"&gt;
<asp:listitem selected="True" value="-1"></asp:listitem>
</asp:dropdownlist>
</td>

<tr>
<td>
Branch:
</td>
<td>
<asp:dropdownlist id="BranchdD" runat="server" datatextfield="BranchName" datavaluefield="BranchID" xmlns:asp="#unknown">
DataSourceID="LinqDataSourceBranches"&gt;
<asp:listitem></asp:listitem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td>
Contact:
</td>
<td>
<asp:dropdownlist id="ContactdD" runat="server" datatextfield="Name" datavaluefield="ContactID" xmlns:asp="#unknown">
DataSourceID="LinqDataSourceContacts"&gt;
<asp:listitem></asp:listitem>
</asp:dropdownlist>
</td>
But then I'm not sure what to do.... Any help or links would be appreciated. :) thanks
May 19 '10 #1
1 1479
Dheeraj Joshi
1,123 Expert 1GB
Hey, Probably you should post it in ASP forum.
It has got nothing to do with C or C++. Please some one move this thread.

Regards
Dheeraj Joshi
May 19 '10 #2

Post your reply

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

Similar topics

reply views Thread by DanThMan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.