Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • In my app a have a form with session. That form open a child form window. What is best practice to pass session or nested session to child form?
                                • Pavel (DevExpress Support) 01.11.2017

                                  Hi Denys,

                                  From what I gather, you need to pass a reference to the Session object to another form. If so, you can simply assign it to the child form's Tag property while creating the child form. Please let me know if this approach works for you. If not, describe your scenario in greater detail. This will help me find a solution for you. I look forward to your response.

                                • Denys Zaliznyak 03.15.2017
                                  What if I want to use such session in Windows Form Designer? 
                                • Pavel (DevExpress Support) 03.15.2017

                                  Hi Denys,

                                  In fact, Visual Studio doesn't support sharing any controls or components between forms at design time. So, you should pass them at runtime. If you have further questions, please let me know.

                                0 Solutions

                                Creation Date Rating Importance Sort by

                                If you need additional product information, write to us at info@devexpress.com 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