Hi,
I'm currently evaluating whether FlyTreeView for ASP .NET 2.0 suits our needs in a project.
System-Setup: Sharepoint Server 2007, Sharepoint-pages, Webpart with FlyTreeView and a dropdownlist for selecting different source-data, data from a database.
The issue is, that the context menu behaves weird - they show the correct menu, but with the content of another menu!
On initial load, everything is fine. The tree loads, on demand the nodes are populated further, the (one) context menu is fine. On selecting another entry in the dropdownlist, the page posts back, tree gets cleared, two new context menus are created, tree is loaded with nodes, again.
The menus even have different menu-IDs, different item text, but the same total number of items and some items point to the same javascript to be called as the previous menu items. The previous menu is NOT recreated.
- debug-information shows, that the correct menu-IDs are used, as well as the correct menu items with the correct data are created
- tree loads, debug-information shows, that the nodes point to the correct menu-ids
- right-clicking on the tree shows the wrong menu
--> reason: HTML contains a table with the correct menu, but the wrong text-entries in the div-elements
- clearing browser cache makes no difference
- Which ever menu is created at initially loading the page \"survives\", the context menu items of this menu show up in the other one
- HTML does not show the menu-id of the first menu - seems to work as designed.
I have used a whole day on checking whether my source code or source data are wrong, but according to the debug-info everything is fine.
Do you have an idea why it behaves like that - and probably a solution?
Regards,
rawaho
P.S.: We have not yet bought a license. I fully understand if you don't support for that reason, just drop me a notice.