3 Replies Latest reply on Feb 18, 2010 8:38 AM by archemedia

    Is there a performance difference directly assigning datasource vs bindable?

    rickcr Level 1

      I'm wondering if both of these appraoches are the same from a performance standpoint...


      1) Creating a Tree and having the xml backing it as Bindable property on the view - and the xml gets set in an event handler




      2) your event handler simply assigns the returned xml directly to the datasource... ie.... myTree.datasource = someXml;


      I know 1 is better if you plan to work on the xml directly and have the changes directly reflected in the tree as the binded xml is modified, but if it's just a case where the xml is completely different each time (say after a remote service call) does it matter if you just use approach 2 vs 1 ?