D
Don Parker
I want to have 2 dropdowns - one containing categories of items such as
Furniture, Applicances etc. The other dropdown is a list of
subcategories that match the first drop down. So if the user chooses
Furniture - the 2nd dropdown will show Bed, Sofa etc - or if they choose
applicances they will see refrigerator, range, dryer etc. What is the
best way to do that? I was thinking to use a dataset a view and just
filter the view and bind it to the dropdown - but I'm thinking you can't
do that in client script. I don't want to make a round trip back to the
server every time they choose a different category - but if I must - I
don't want to reload the whole page. In the old days I would use RDS or
remote scripting to make a call to the database without loading the page
again. How does one do that in this new world of ASP.NET?
Furniture, Applicances etc. The other dropdown is a list of
subcategories that match the first drop down. So if the user chooses
Furniture - the 2nd dropdown will show Bed, Sofa etc - or if they choose
applicances they will see refrigerator, range, dryer etc. What is the
best way to do that? I was thinking to use a dataset a view and just
filter the view and bind it to the dropdown - but I'm thinking you can't
do that in client script. I don't want to make a round trip back to the
server every time they choose a different category - but if I must - I
don't want to reload the whole page. In the old days I would use RDS or
remote scripting to make a call to the database without loading the page
again. How does one do that in this new world of ASP.NET?