This question is locked. New answers and comments are not allowed.
Hi I'm evaluation TreeView for use in a project I'm working on. The data looks like this:
Region 1
-- State 1
-- City 1
-- City 2
-- State 2
Region 2
-- State 3
-- State 4
I would like to bind the regions on the server then bind the states on-demand. When a state is clicked, I'd like to bind the cities on-demand.
I see in the examples where this can be done but my problem, the ajax call is done to one controller method and a TreeViewModel is passed but I don't see a way of knowing if I should be loading State data or City data.
Is this possible? If not, how can I work around it?
Thanks