I am having an issue where whenever a post back is triggered on my page the Web Data Tree empties out. Even though I'm rebinding the control on post back it still empties every time.
Hi rzwirtz,
Thank you for posting in the community.
I wasn’t able to replicate the behavior you are describing. Please check the sample I created. In order to investigate this issue further, I will need to take a look at your code or a sample project, demonstrating this behavior.
Please feel free to contact me if you have any questions.
I was able to fix the issue. What happened was I created custom control in the appcode named "NodeWebDataTree" that inherited from the infragistics web data tree. This control was bound to a collection of my own Node objects(Which are entirely different than infragistics node objects). In the init of this control I was loading up a set of nodes from a database and setting it as the data source. What I figured out is that if you set the datasource and databind in the init event it only works during the first load. If I move the setting of the datasource to the DataBinding event it on subsequent post backs.