473,395 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 1633
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

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

Similar topics

8
by: asd | last post by:
I need to find the value/index of the previously selected item of a select list. That is, when the user selects an item from the list and a certain condition elsewhere in the form is not met, I...
7
by: pk | last post by:
Here is my code, and it's not working. Please help me get through this. I've read every single tutorial and you may even see remnants of some of their variables in my code. I don't know if I'm...
3
by: Rosanne | last post by:
Is there a way to clear the SelectedIndex of a listbox when the browser's back button is clicked? I have a page that contains a server side list box with AutoPostBack = True. When the user...
3
by: joseph.mccastlain | last post by:
Hello All, I am a new user to Access. I am currently designing a database consisting of four tables for multiple users. Rather than bore you with the goals and such, here is what I am...
1
by: phpnewbie2007 | last post by:
Hello, PHP: I have 3 dropdowns: Step 1: User selects a value from second dropdown-so results are shown corresponding to that. Step 2: Next step user selects value from third dropdown- so now...
3
by: Kernel Kev | last post by:
Hi, im doing a college assignment using Access and i seem to have hit a hard rock thats getting in my way. I will explain my task solution in hope you may be able to explain the best way to do this:...
0
by: DanThMan | last post by:
I'm really getting frustrated with GridView is WPF. All I want is to allow users to select an individual cell instead of a whole row, but that was left out of the object model for some reason....
5
by: giandeo | last post by:
Hello Experts. Could you find a solution for this problem please! I have the following tables in Access Database Table Name: origin Fields Names: country, countrycode Table Name: make...
9
by: Celor | last post by:
I'm making a database for a local school, and they need a form which lets them keep track of students assignments, and in turn the grades for that assignment. So i have a form with all the basic...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.