# Javascript: TXTextControl.isLoadingDialogEnabled Property

> Gets or sets whether a wait dialog is shown while a document is being loaded.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.isLoadingDialogEnabled Property
- **153 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/isloadingdialogenabled-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/isloadingdialogenabled-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/isloadingdialogenabled-property/llms-full.txt

---

### Description

Gets or sets whether a wait dialog is shown while a document is being loaded.

### Syntax

```javascript
<boolean> TXTextControl.isLoadingDialogEnabled
```

### Examples

The following example demonstrates `TXTextControl.isLoadingDialogEnabled` in a practical document-editing workflow. It gets or sets whether a wait dialog is shown while a document is being loaded.

```javascript
const isLoadingDialogEnabled = tXTextControl.isLoadingDialogEnabled;
console.log("is loading dialog enabled:", isLoadingDialogEnabled);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.isLanguageDetectionEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/islanguagedetectionenabled-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.isSpellCheckingEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/isspellcheckingenabled-property/llms-full.txt)
