SheetControlErrorEventArgs.Message Property
- Namespace
TXTextControl.TXSheetControl. Blazor
- Package
TXTextControl.asTXSheetControl. Blazor TXTextControl.from the private NuGet feed or the supplied NuGet folderTXSheetControl. Blazor. dll
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.