Hi,
So, here's the scenario:
I have a .aspx page having two dropdowns, the data to be loaded in them is usually static(but may change everyday), the first dropdown always displays the main categories and the second dropdown is initially empty.
Now, the requirement is:
As the user selects a category from the first dropdownlist, the second dropdownlist should populate based on the selection just made.
The road-block:
This should be done without a postback.
My boss wants something like the drop downs on this page.
So what I gather is, I'd have to retrieve the data from the database on page load event, store it in the cache(or somewhere else?), then use javascript to handle the selectedindexchanged event of the 1st dropdown, use the data from database stored at pageload and populate the second dropdown according to the selected value of first dropdown.
It's been 2 days since I'm stuck on this and can't seem to find a feasible solution, and in need of great help.
Thanks in advance for throwing any light on the matter.
P.S.- I'm a beginner ASP.Net C# programmer and have no knowledge of Javascript.