Hi everybody,I have 2 dropdowns and on selected index change the second
dropdown is populated accordingly and so on.i am displaying the
selected value in a label for the user so that he comes to know the
hierarchy level.
i will show you this with a example so that u can understand it well
and help me out to come with a solution.the scenario is as below:
Label: a>>a1
Dropdown1:a,b,c,d
Dropdown2:suppose user clicks on (a) item in the first dropdown
then corresponding records to that item will be displayed in the 2nd
dropdown lets say a1,a2,a3 will be displayed and same will be displayed
in the label for example if user clicks on a1 in 2nd dropdown then
label text would be a>>a1 but if there are no records under a1 and
after that if user clicks on a2 then in the present situation the label
is displayed as a>>a1>>a2 which is wrong,this should have been a>>a2 .
This is happening because i am fetching the records from the database
on selected index change and appending it to the label text. I need
help and advice from all of you as early as possible. this can happen
upto n level so plz give me the solution with the code if you think
that this can be done in this or that way...
waitng for your earliest reply........