Ticket T147944
Visible to All Users

XAF - WebApp - Navigation panel control, ControlBar - New action, Custom Logo

created 10 years ago

Hello,
I am currently on the verge of releasing an XAF win+web app for our human resources department. However there are some cosmetic issues, that I was not able to quickly solve, being quite a beginner in this. Your kind help with the following would be very appreciated, as my deadline is quickly closing in.

All questions will be about the WEB part of the app.

  1. How to hide a certain edit detail view horizontal navigation panel (with save, new etc. controls, history and previous/next)? As they dont like the duplicity of action buttons and deem the history control confusing

alternatively

1a) Hide bottom action container (save, save n close etc) in edit detail view and change the text in history control to a property value of previously opened item.

  1. The "New" new action in ControlBar is not showing under current user role settings, however its accessible through quick create menu. Is there a way to force the control button to show? The user role permissions are bound to a property value of a Business Object.

  2. Custom logo in WEB app. I have followed the tutorial without any success, I must be missing something. Would you be so kind to walk me through?

Thanks in advance for any help

Answers approved by DevExpress Support

created 10 years ago

Hello Jakub,

Thank you for contacting us. Let me also congratulate you with the upcoming release of your XAF app.
A1: You can remove these containers using several good methods: 1) By customizing the template and removing unwanted containers at design time; 2) By deactivating required Actions as per How to remove or hide (deactivate, disable) a button ( Action ) from tool bar.
The NavigationHistoryActionContainer visualizes the navigation history in the UI. As for the history text, this text is formed by the navigation item Caption property. So, you can customize this in the Model Editor. If you require deeper customizations, you may want to build your own Action Container. Check out the Customize Breadcrumbs in XAF  ticket to learn more.

A2: The New Action is not supposed to be shown in this context by default, because here it can be available for aggregated collections only. Nothing prevents you from implementing a custom New Action, though.

A3: The eXpressApp Framework > Task-Based Help > How to: Change an Application Logo article provides instructions on how to implement this task. To help you with this, I need to know which instructions you already followed and which concrete difficulties experienced while doing so. It would be also great to have a small sample illustrating your actions.

    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.