Version X18 introduces a new way to handle asynchronous errors. Those errors can be caused by all asynchronous operations.

TX Text Control allows you to attach the unhandledError event to handle those types of errors. You can catch errors directly on the action or use this event to catch all unhandled errors in one function.

The demo is trying to insert a table with an invalid table ID. If no checkbox is checked, the error is unhandled. If the checkbox "Catch errors on action" is checked, the error is directly catched in the action of the function. "Catch unhandled errors" catches all unhandled errors in the "unhandledError" event.

Show Description

This demo uses the MVC version of TXTextControl.Web included in TX Text Control .NET Server for ASP.NET. The functionality is compatible across all supported platforms.

Version X18 SP3

No code required.

No code required.

Next Sample

© 2020 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We documents.