Home - Forums-.NET - FlyTreeView (ASP.NET) - Interference with other scripts

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

Interference with other scripts
Link Posted: 22-Apr-2008 20:28
I've got this particular web page that I want to behave like a desktop application so it's made up of a lot of Ajax Control Tookit stuff(collapsable panels, tab panels,...) and using a completely client-centric approach (i.e. no postbacks at all, everything by means of javascript and callbacks). One of the components contained in the page is a map made up of 3rd-party server controls. During rendering these controls they emit javascript in a single script block at the beginning of the control's inner HTML. All this neat stuff worked pretty fine... until I've put a FlyTreeView on the page. Ever since the script emitted by the MDNS controls does not contain line breaks anymore what means that everything is commented out. So instead of



I now get
[code][/code]

Any idea as to why this could be happening?
Link Posted: 22-Apr-2008 20:40
FlyTreeView doesn't control what other stuff on a page does and how it does.

Could you please create a test page with FlyTreeView that reproduces the problem? So we can see and debug it ourselves.
Link Posted: 22-Apr-2008 23:25
Thank you for your prompt reply.

I've customized the MDNS 6.5 template (comes with the MDNS SDK) so that the MDNS server controls get initialized server-side on page load (instead of during an out-of-band callback) and that it includes a simple FlyTreeView and FlyContextMenu. If FlyTreeView.visible is set to false, everything works fine. Setting the attribute value to true causes the problem described before. A lot of javascript errors appear because of the MDNS scripts emitted do not longer contain line breaks so everything is commented out.

I don't seem to be able to upload a 781kB zip file, so I've send you the file by email.
Link Posted: 23-Apr-2008 00:00
Yes, I definitely see the problem.
Will write here as soon as I have a solution.
Link Posted: 23-Apr-2008 00:15
We have a fixed build.
It will be available for download in several hours.