This question is locked. New answers and comments are not allowed.
When using the treeview with many (~100+) nodes I'm finding I hit the wall on my post query string of 2k. It seems the control is sending information about every node (it's state, value, text etc...) and not just the checked ones.
Currently my post method is through jquery and is fairly straight forward - get the form, serialize it and post - with the tree control part of that form.
Even if it is only the checked nodes, how do I deal with only posting the "values" of the checked node and not the state or text? I've not dug in too deeply to your javascript but is there a method to get currently checked node values, should I write my own with jquery...
What is the best starting point to solve this issue?
-Jason
Currently my post method is through jquery and is fairly straight forward - get the form, serialize it and post - with the tree control part of that form.
$(document).ready(function () { $("#Context_<%= Model.View %>_Input").click(function () { var f = $("#context-form"); var action = "<%= Url.Action("Action", "Controller") %>"; var serialization = f.serialize(); $.post(action, serialization, function (data) { $('#context_frames').html(data); }); return false; });Even if it is only the checked nodes, how do I deal with only posting the "values" of the checked node and not the state or text? I've not dug in too deeply to your javascript but is there a method to get currently checked node values, should I write my own with jquery...
What is the best starting point to solve this issue?
-Jason