Hi…im doing an asp.net application. Im trying to load a Tree from a xml. The Tree is inside a layout. The way that im loading the xml is this:
//tree
dhxTree = dhxLayout.cells(“a”).attachTree();
dhxTree.setSkin(‘dhx_skyblue’);
dhxTree.setImagePath(“dhtmlx/dhtmlxTree/codebase/imgs/csh_vista/”);
dhxTree.loadXMLString(dhtmlxAjax.postSync(“http://localhost:55357/WebSite/workspace.aspx?action=LoadXMLTree”).doSerialization());
I have all the components in a default.aspx and to load the XML im calling Workspace.aspx page. On the Workspace page_load event i create the xml to load in the tree. The tree loads Ok and shows ok, but in the asp page is throwing a System.Threading.ThreadAbortException error when finish the response.
Dim vTree As New ObjTree
Response.Clear()
Response.ContentType = “text/xml”
Response.ContentEncoding = System.Text.Encoding.UTF8
Response.Write(vTree.GetXMLTree.InnerXml)
Response.Flush()
Response.End()
I want to know how you call the page in the postSync method…or if someone report this problem and you know the solution.
Thanks.
Sorry for my english, im from argentina.