Hello,
I have the following situation on a webapp:
A table "Employees" contains column "Department" and "Function". Both are dropdownlists.
The "Function" dropdownlist options depend on the selected "department". (so each department has its own list of functions)
When changing the department, I do an ajax call to a controller action with parameter "DepartmentId". Theres an [outputcache] attribute on the controlleraction so the functions that it returns get cached for every department ID.
My problem is the initial loading of the page. Can you call a controlleraction in a view and take advantage of the caching?
Anyone? 30 views and no answers.. Any remarks about my question? Too obvious? too hard? too weird? something for google (altho I didn't find a solution there) ?