Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
102
LoadOnDemand.ManualSmartCallbacks help !!!!!
posted

Hi,

I'm using LoadOnDemand.ManualSmartCallbacks in UltraWebTree to add nodes

dynamically on DemandLoad event.

Everything working fine, but on postback all the nodes getting cleared.

How to retain all those datas on postback ????

Parents
No Data
Reply
  • 45049
    Verified Answer
    posted

    ganesh_cbe said:
    Everything working fine, but on postback all the nodes getting cleared.

    This is correct behavior.  WebTree does not "remember" previously-loaded nodes when using ManualSmartCallbacks or AutomaticSmartCallbacks.

    The best option is to use the "Manual" load on demand style instead.  You can provide AJAX functionality to this setup by placing WebTree inside of a WebAsyncRefreshPanel (WARP) or an UpdatePanel.  Once nodes are loaded in this setup, they remain loaded through postbacks.

Children