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.
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
Answers approved by DevExpress Support
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.
@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.