You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor-toc.html
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4384,6 +4384,7 @@
4384
4384
<li><ahref="/blazor/textbox/how-to/customize-the-textbox-background-color-and-text-color">Customize the TextBox Background-color and Text-color</a></li>
title: How to troubleshoot exceptions in TextBox Blazor | Syncfusion
4
+
description: Checkout and learn here all about troubleshooting server and client exceptions in Blazor TextBox component.
5
+
platform: Blazor
6
+
component: Common
7
+
documentation: ug
8
+
---
9
+
10
+
# How to troubleshoot exceptions in Blazor TextBox
11
+
12
+
<!-- markdownlint-disable MD036 -->
13
+
14
+
## Runtime exceptions
15
+
16
+
***InvalidOperationException: Cannot provide a value for property 'SyncfusionService' on type 'Syncfusion.Blazor.Inputs.SfTextBox'**
17
+
18
+
You may see the below runtime exception while running the application for the first time.
19
+
20
+
E> **InvalidOperationException:** Cannot provide a value for property 'SyncfusionService' on type 'Syncfusion.Blazor.Inputs.SfTextBox'. There is no registered service of type 'Syncfusion.Blazor.SyncfusionBlazorService'.
21
+
22
+
**Cause:**
23
+
24
+
This exception thrown because you missed registering the `SyncfusionBlazorService` in `Program.cs`.
25
+
26
+
**Solution:**
27
+
28
+
You can register the `SyncfusionBlazorService` in `Program.cs` file to resolve the exception.
0 commit comments