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: knowledge-base/dockmanager-reset-state.md
+11-16Lines changed: 11 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,23 +11,18 @@ ticketid: 1691957
11
11
---
12
12
13
13
## Environment
14
-
15
14
<table>
16
-
<tbody>
17
-
<tr>
18
-
<td>Product</td>
19
-
<td>DockManager for Blazor</td>
20
-
</tr>
21
-
<tr>
22
-
<td>Version</td>
23
-
<td>Current</td>
24
-
</tr>
25
-
</tbody>
15
+
<tbody>
16
+
<tr>
17
+
<td>Product</td>
18
+
<td>DockManager for Blazor</td>
19
+
</tr>
20
+
</tbody>
26
21
</table>
27
22
28
23
## Description
29
24
30
-
I want to reset the state of the [DockManager](slug:dockmanager-overrview) in Blazor on a button click. The DockManager currently only resets by reloading the page. I need a solution to reset its state dynamically.
25
+
I want to reset the state of the [DockManager](slug:dockmanager-overview) component on a button click. The DockManager currently only resets by reloading the page. I need a solution to reset its state dynamically.
31
26
32
27
This knowledge base article also answers the following questions:
33
28
- How to reset DockManager layout to its default state?
@@ -49,7 +44,7 @@ To reset the DockManager state dynamically on a button click:
49
44
<br />
50
45
<br />
51
46
<TelerikButton OnClick="@ResetDockState" ThemeColor="@ThemeConstants.Button.ThemeColor.Primary">Reset Dock State</TelerikButton>
52
-
<TelerikDockManager @ref="DockManager"
47
+
<TelerikDockManager @ref="@DockManagerRef"
53
48
Height="600px">
54
49
<DockManagerPanes>
55
50
<DockManagerSplitPane>
@@ -118,19 +113,19 @@ To reset the DockManager state dynamically on a button click:
0 commit comments