Hello,
Some of our business logic works at database level.
For instance, we verify that there is no scheduling conflicts at database level, we don't use scheduler features for that.
Such approach seems to be the most reliable in our case.
(in short, we use db trigger where we make sure that new records do not conflict with existing ones).
In there is a conflict, transaction is rolled back and error message came from database is displayed.
Now the problem:
ASPxScheduler hides db error message.
Instead of showing simple and understandable error message like "Schedule record … conflicts with another record created by …"
it shows something that a user will be scared by "exception has been thrown by the target of an invocation".
In addition it shows call stack which is going to scare a user even more.
(screenshot is attached)
How is it possible to make ASPxScheduler to show database error message?
Thank you,
Oleg
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.
The CustomErrorText event is implemented which occurs when any exception is raised within the ASPxScheduler, and allows you to change the default error text.