[quote="EvgenyT"]Set the PostBackOnDropAccept="true" this will help.
Evgeny, this was already set. As I mentioned, the postback on its own works great, as does the Javascript. It's only when I combine the two (requesting a Javascript confirm before the postback) that the postback does not happen.
I've just tested this further and found that the problem exists if any kind of alert box is used in the javascript ondrop code - same thing happens for a confirmation or an alert box. This means I can use the javascript to warn a user that the drag event was cancelled (for example because a node with the same value already exists in the target location - hence the postback is not needed anyway) but I cannot use it to prompt the user to confirm that moving or copying the node was desired (and I DO need to do this because most users are stupid...). I have tested the above problem on 3 different browsers (on 2 different clients running XP Pro) - IE7, IE6 and Firefox (Mozilla 5).
One other issue I've discovered is that if I drag and drop a node and then click on another node before the postback has occured (my back end database is at a datacenter many miles away so this will always be a possibility) then an exception occurs. I believe this is in your code rather than mine (and there have been plenty in mine!). Trace follows:
[NullReferenceException: Object reference not set to an instance of an object.] NineRays.WebControls.FlyTreeView.ApplyStateLog(String stateLog) +1737 NineRays.WebControls.FlyTreeView.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +61 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +897 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2547
Many thanks (even more if you can fix the issues!). Once again, I've been using this control for only 2 days and my feedback is very positive (even taking the above issues into account). Documentation could be much better (especially client side), but I'm the worlds worst documenter myself!.