Current filter:
                                You should refresh the page.
                                Support Center
                                  • Created by Binu Koshy at 4/23/2008 5:35:35 PM

                                         I am using a treelistview which is binded to a generic list with buisness objects where multiselect is enabled. My requirement is after a refresh of datasource (usually done by reseting the datasource), I would like to maintain the same selected nodes before refresh.

                                    For this, before resetting the datasorce,I have stored 'Keyid' of selected business object which i have obtained from 'TreeListView.Selection' and once new datasource is set, nodes with corresponding keyids are obtained using FindNodeByKeyFieldValue and selected property node will be set to 'true'

                                    This hits the performance of reloading and as well as, its not working with all the nodes ( there are situation which arose where 'TreeListView.Selection.Count' will show a correct number of selected node but the nodes may not be selected)

                                    Please provide a solution


                                Hi Binu,

                                Unfortunately, it is unclear in which situations the restored selection is incorrect, and how this affects performance. Please provide us with a sample project, and the steps to reproduce this issue.


                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners