TX Sheet Control

SheetControlErrorEventArgs.Message Property

Property
Namespace
TXTextControl.TXSheetControl.Blazor
Package
TXTextControl.TXSheetControl.Blazor as TXTextControl.TXSheetControl.Blazor.dll from the private NuGet feed or the supplied NuGet folder

Human-readable details of the initialization or event-handler failure.

Syntax

public string Message { get; init; }

Property Value

string. Human-readable details of the initialization or event-handler failure.

Examples

private string errorMessage = "";
private void OnError(SheetControlErrorEventArgs args)
{
    errorMessage = $"{args.Code}: {args.Message}";
}
// Bind errorMessage to application UI, for example a role="alert" element.

Remarks

Callback data is a detached snapshot. Update application UI in the callback and obtain a current workbook handle before editing cells.

See Also