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
110
How to maintain the state of the tree across postback
posted

Hi,

I am currently using an UltraWebTree (8.1) in a Sharepoint site. I have enabled LoadOnDemand property.

Whenever there is a postback happening due to this DemandLoad event, the state of the tree is not maintained. In short it collapses. I am not enclosing any of the controls under the hood of update panel.

What is the property that needs to be set to maintain the state of the tree across the postback? Also Is is any clientside alternative for doing the same? 

Thanks

Sharath 

 

Parents
No Data
Reply
  • 28464
    Verified Answer
    posted

    Hello Sharath,

    Indeed, this is a side effect of the Load On Demand modes - state is not persisted automatically. You can find detailed description of this problem and several suggestions that can work fine your scenario in the following DevCenter KB article:

    PRB:State of new nodes is lost when using ManualSmartCallbacks for WebTree

    http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=9685 

    Hope this helps. 

Children