ThreadAbortException on postsync

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. :wink:

Hi
There is no issues locally.
Be sure that the domain of html page coincides with the domain of the xml document.
tree.rar (248 KB)

Hi Darya.
You are passing a xml inside the postsync. If you pass a ASPX URL, inside the page code it gives the error. If i pass an xml there isnt interaction with server side so it dont gives the error.

We need your direct link to reproduce the issue.

i dont published yet. Can i send you the source code?

Yes, you can.
You can share a demo with me
docs.dhtmlx.com/doku.php?id=othe … leted_demo
You can send it in PM. The main idea: i need kust to reproduce the issue.