# Control Initialization

> Fix initialization problems of TX Text Control .NET for WPF: code that runs before the TextControl is loaded, ResourceProvider calls and ServerTextControl.

- **Product:** TX Text Control .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for WPF > Troubleshooting > Control Initialization
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/initialization/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/initialization/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/initialization/llms-full.txt

---

## On This Page

- [Code in the Constructor Has No Effect or Fails](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/initialization/#code-in-the-constructor-has-no-effect-or-fails)
- [A File Passed at Start Isn't Loaded](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/initialization/#a-file-passed-at-start-isn-t-loaded)
- [GetLargeIcon or GetSmallIcon Throws an Exception](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/initialization/#getlargeicon-or-getsmallicon-throws-an-exception)
- [A ServerTextControl Fails](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/initialization/#a-servertextcontrol-fails)
- [Related Pages](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/initialization/#related-pages)

---

## Nearby

- **Previous:** [XAML Namespaces and Assembly References](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/xaml-namespaces/llms.txt)
- **Next:** [Data Binding and Commands](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/data-binding/llms.txt)
