Skip to content

Commit 4839846

Browse files
authored
kb(grid): adjust sub headings
1 parent e865718 commit 4839846

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

knowledge-base/grid-save-and-restore-the-filters-automatically.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For Saving and Restoring the Filters, this Grid is using the Functions mentioned
2424
- **To Save the Filters** Automatically, create a Global flag that will be set in the [ItemCommand event]({%slug grid/server-side-programming/events/itemcommand%}). In the [PreRender event]({%slug grid/server-side-programming/events/prerender%}), use the Global Flag as a condition and call the `SaveFilters()` function respectively.
2525
- **To Restore the Filters**, inside the [PreRender event]({%slug grid/server-side-programming/events/prerender%}) use the `!Page.IsPostBack` as a condition and call the `RestoreFilter()` function.
2626

27-
Example
27+
### Example
2828

2929
````C#
3030
// Create a Global Flag with its value set to False
@@ -95,9 +95,9 @@ Protected Sub RadGrid1_PreRender(ByVal sender As Object, ByVal e As EventArgs)
9595
End Sub
9696
````
9797

98-
## Test this Solution
98+
### Test this Solution
9999

100-
>caption RadGrid Markup Code
100+
#### Markup Code
101101

102102
````ASP.NET
103103
First <a href="https://www.google.com/">Navigate to Google</a> and then Navigate back to this page.
@@ -134,7 +134,7 @@ First <a href="https://www.google.com/">Navigate to Google</a> and then Navigate
134134
</telerik:RadGrid>
135135
````
136136

137-
>caption CodeBehind
137+
#### CodeBehind Logic
138138

139139
````C#
140140
// Data Binding

0 commit comments

Comments
 (0)