Create a hidden input field on the form and then string the checked id's into it. Pick it up in your controller...
<input type="hidden" id="hidCodings" name="hidCodings" />
....
....
...then use the following script...
var checked = $find("MyTreeView").GetAllCheckedNodes();
$("#hidCodings").val("");
$.each(checked, function (i, nodeitem) {
var nodeid = $("#hidCodings").val() != "" ? $("#hidCodings").val() + "," + $(nodeitem)[0].id : $(nodeitem)[0].id;
$("#hidCodings").val(nodeid);
});
John