or
.Editable(e => e.Mode(GridEditMode.PopUp).TemplateName("CustomEdit").Window(w => w.Title("Edit").Name("customedit").Width(1000)))[HttpPost]public ActionResult UpdateView(Project project){ var pipelineProject = project; ViewBag.IsUpdate = true; return PartialView("_CreateUpdateProject", pipelineProject);}[HttpPost]public ActionResult UpdateViewForProjectDocumentGuid(string projectDocumentGuid){ var projectRepository = new ProjectRepository(SystemConnection, CurrentUser, WebConfigHelper.GetConfigurationValue("DefaultProgram")); var pipelineProject = projectRepository.Read(new ProjectSearchModel() { AccountNames = AccessibleProjects.Select(a => a.ProjectAccountName).ToList(), DocumentGuid = projectDocumentGuid}).First(); ViewBag.IsUpdate = true; ViewBag.CollapseGeneral = true; return PartialView("_CreateUpdateProject", pipelineProject);}$('#timerequest-details').attr('disabled', 'disabled');$($('#editorName').data().kendoEditor.body).attr('contenteditable',false)
Hello,
after the page containing the tree view is refreshed, the state isn’t remembered so the tree view is collapsed totally. We have the requirement that the state is unchanged on a refresh or navigation operation on the browser.
So our question: Is it possible to store the state in any way (cookies etc.) to restore it on a page load?
Thanks in advance.
var grid = $(pipelineForecastGridId).data("kendoGrid");var item = grid.tbody.find("tr:first");grid.select(item);