This is a migrated thread and some comments may be shown as answers.

[Solved] Ajax routeValues problem

0 Answers 15 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Troy
Top achievements
Rank 1
Troy asked on 02 Jun 2011, 07:26 PM
I have treeview that is loading nodes on demand via an ajax call.  In the ajax call, I am passing the ViewModel object that the page is using as the routeValues.  Within the ViewModel object, I have a list of a custom object.  This list is always null when it is passed to the ajax method but properties of the ViewModel are populated.  Even a custom object on the ViewModel is populated, just anything that is a list is not populated.  I am currently using jQuery 1.5.1 and 2011.1.315 version of telerik.  I researched on Google and tried setting the jQuery.ajaxSettting.traditional = true; but that did not work.  Any help is greatly appreciated.
Tags
TreeView
Asked by
Troy
Top achievements
Rank 1
Share this question
or