# SheetControlErrorEventArgs.Message Property

> SheetControlErrorEventArgs.Message property in the TX Sheet Control .NET API: Human-readable details of the initialization or event-handler failure.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Namespace:** `TXTextControl.TXSheetControl.Blazor`
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Blazor.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Blazor > SheetControlErrorEventArgs > SheetControlErrorEventArgs.Message Property
- **271 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontrolerroreventargs/message-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontrolerroreventargs/message-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontrolerroreventargs/message-property/llms-full.txt

---

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

### Syntax

```csharp
public string Message { get; init; }
```

### Property Value

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

### Examples

```csharp
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

- [SheetControlErrorEventArgs](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontrolerroreventargs/llms-full.txt).

---

## Nearby

- **Previous:** [SheetControlErrorEventArgs.Code Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontrolerroreventargs/code-property/llms-full.txt)
- **Next:** [SheetControlOptions Class](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/sheetcontroloptions/llms-full.txt)
