Ticket Q483045
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

How do I provide the capability to collapse or expand layout groups and persist their state?

Collapsible Panel in XAF Web Application

created 12 years ago

Dear Support
Is there a way we can implement a collapsible panel in XAF Web Applications? We have a web based application form and the page is significantly long and we wish to implement collapsible panel on major sections. We have used tabs in some of the areas but they will not suffice in some of the sections.
Your speediest response would be greatly appreciated.

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

Hello,
Sure, that is possible. In XAF, you can implement a custom template for a layout group or an item.
Refer to the Layout.Web - Provide an easy way to customize layout creation ticket for more details on this solution. Take special note that the XAF Web application is a "normal" Web application. While implementing a custom template, you just need to create controls in code, that is it.
For instance, in the simplest case, it is possible to use our ASPxNavBar control in a custom template as shown at How to collapse large editors in the Detail View on the Web. A better solution would be to use the ASPxRoundPanel as shown in How to implement collapsible ASPxRoundPanel.

    Show previous comments (8)

      Hi Dmitry

      can you put here the sample project?

      Thank you.

      Dennis Garavsky (DevExpress) 9 years ago

        @INFO CL:
        I am afraid we have not saved this sample. You can find implementation details for ASP.NET in the How do I provide the capability to collapse or expand layout groups and persist their state? thread.

          Thank you Dennis

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.