protected void btnSaveReordering_Click(object sender, EventArgs e) { //JavaScriptSerializer js = new JavaScriptSerializer(); string json = hdnGetJosnResult.Value; //var tree = js.Deserialize<Plugghest.Base2.CoursePlugg[]>(json).ToList(); var tree = Newtonsoft.Json.JsonConvert.DeserializeObject<CoursePlugg[]>(json).ToList();// js.Deserialize<Plugghest.Base2.CoursePlugg[]>(json).ToList(); BaseHandler bh = new BaseHandler(); bh.UpdateCourseTree(tree); BindTree(); }