selection dependent on previous selection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kellygrobler
    New Member
    • May 2010
    • 1

    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:dropdownli st id="CustomerdD " runat="server" datatextfield=" CustomerName" datavaluefield= "CustomerID " xmlns:asp="#unk nown">
    DataSourceID="L inqDataSourceCu stomers"&gt;
    <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"&gt;
    <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"&gt;
    <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
  • Dheeraj Joshi
    Recognized Expert Top Contributor
    • Jul 2009
    • 1129

    #2
    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

    Comment

    Working...