Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • I have a callback panel which contains a table containing a callback panel on each row. I only want to show one row/callback panel at any one time. If I have a control which initiates a callback on the row/panel which is not initially visible, some of the controls on that panel do not render correctly after the callback. More specifically, their client side event handlers are missing.

                                    Steps to Reproduce:

                                    Add a callback panel to default page

                                    Add a HTML table containing two rows

                                    On each row, place a callback panel

                                    On each callback panel, place a hyperlink, button and textbox control

                                    Set the client side click event on each button to perform a callback on the main callback panel. The callback toggles the visibility of the rows and displays the name of the event source in the visible textbox

                                    Set the client side click event of each hyperlink to perform a callback on that row's callback panel. The callback will display the name of the event source in the visible textbox

                                    Set the page load event to only display the first row/panel on load

                                    Run the application

                                    The application runs as expected when clicking the buttons or the hyperlink on the first row/panel and the button on the second row/panel

                                    Click the hyperlink on the second row/panel. The panel will perform a callback but the button on that panel no longer calls it's click event when clicked. Inspecting the page source reveals that the click event code is missing.

                                    Zipped example attached.

                                    Actual Results:

                                    The application runs as expected when clicking the buttons or the hyperlink on the first row/panel and the button on the second row/panel

                                    Click the hyperlink on the second row/panel

                                    The panel will perform a callback but the button on that panel no longer calls it's click event when clicked

                                    Inspecting the page source reveals that the click event code is missing

                                    Expected Results:

                                    The button on the second row/panel will continue to fire the click event after the panel callback

                                dxControlVisibilityProblem.zip
                                0

                                Please ignore. I found a solution. I need to toggle the visibility of each row in the callback event!

                                To start a chat you should create a support ticket


                                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, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

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