Hi,
I've found a bug regarding the PopupWindowShowAction's AcceptButtonCaption and CancelButtonCaption. I customized these properties for one of my PopupWindowShowActions. After executing this action, every PopupWindowShowAction has this customized caption.
Please find attached a sample reproducing the bug.
Steps to Reproduce:
Open attached sample application, Open Tasks ListView, click the button
"Open Task Default Accept" (second button) . Notice default captions "Ok" and "Cancel",
Now, click the button "Open Task Customized Accept" (first button). Notice customized captions for OK and Cancel being
"CustomizedAccept" and "CustomizedCancel".
Now click the second button ("Open Task Default Accept") again.
Actual Results:
Customized captions for the default OK and Cancel buttons
Expected Results:
Default OK and Cancel captions
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.
Hi Marco,
Thank you for the report.
This is a bug, and I have reproduced it. As a workaround, I suggest you add the following code that will explicitely set required captions in the defaultAcceptButtonAction_CustomizePopupWindowParams method:
private void defaultAcceptButtonAction_CustomizePopupWindowParams(object sender, CustomizePopupWindowParamsEventArgs e) { e.DialogController.AcceptAction.Caption = "OK"; e.DialogController.CancelAction.Caption = "Cancel"; //...
Please let me know in case of any difficulty.
We are working on this bug and will try to fix it ASAP.
Thanks,
Dennis