I have a c# tree structure that will be passed to my JS code in order to populate a hierarchy of drop down lists.
Is there an efficient way to pass C# tree using JSON and then traverse the tree on the JS side(without me having implement a tree structure on both sides, since I already have a C# tree)?
Is your C# tree structure serializable? There are several JSON serializers for .NET:
http://json.codeplex.com/
http://msdn.microsoft.com/en-us/library/bb410770.aspx
https://github.com/ServiceStack/ServiceStack.Text
etc…