Skip to content

Commit 7ad22e7

Browse files
chore(common): cannot find gramar fixes
1 parent 8a941f1 commit 7ad22e7

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

common-features/loading-sign.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ We understand, however, that you might want to disable this feature in some case
355355

356356
>caption Remove the main loading animation from the grid with a parameter
357357
358-
````CSHTML
358+
````RAZOR
359359
@* The data operations (such as filtering, sorting, paging) are slow in this example, but there is no loading sign *@
360360
361361
<TelerikGrid EnableLoaderContainer="false"
@@ -422,7 +422,7 @@ There are some components that show small (inline) loading indicators, and you c
422422

423423
>caption How to hide inline loading signs with CSS (example with TreeView)
424424
425-
````CSHTML
425+
````RAZOR
426426
@* The CSS rule hides the loading sign. If you want to disable it for all treeviews, remove the custom Class from the treeview declaration and the CSS rule.
427427
In a similar fashion you can inspect the rendered HTML and target the element you want to hide for other components.
428428
Make sure to have the proper cascade so that you do not break other components on the page you do not intend to affect. *@
@@ -511,7 +511,7 @@ In some situations, performing a certain action will show a loading indicator th
511511

512512
* **Solution**: To solve this, monitor the console/logs and look for errors thrown during the problematic operation. Enabling the detailed Blazor errors may help you <a href="https://docs.microsoft.com/en-us/aspnet/core/blazor/fundamentals/handle-errors" target="_blank">troubleshoot</a> application errors:
513513

514-
**Enable Detailed Errors in Server-side Blazor**
515-
516-
services.AddServerSideBlazor(opts => opts.DetailedErrors = true);
514+
````C# Enable
515+
services.AddServerSideBlazor(opts => opts.DetailedErrors = true);
516+
````
517517

components/form/overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The <a href = "https://demos.telerik.com/blazor-ui/form/overview" target="_blank
2020
1. (optional) To enable [form validation]({%slug form-validation%}), add the `<FormValidation>` tag. Define a validator component inside, for example the [`DataAnnotationsValidator`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.components.forms.dataannotationsvalidator) that is part of .NET Core.
2121

2222
<div class="skip-repl"></div>
23-
````Model
23+
````RAZOR Model
2424
@* Provide a model to the Telerik Form *@
2525
2626
@using System.ComponentModel.DataAnnotations
@@ -55,7 +55,7 @@ The <a href = "https://demos.telerik.com/blazor-ui/form/overview" target="_blank
5555
}
5656
}
5757
````
58-
````EditContext
58+
````RAZOR EditContext
5959
@* Provide an EditContext to the TelerikForm *@
6060
6161
@using System.ComponentModel.DataAnnotations
@@ -134,7 +134,7 @@ You can customize the automatically generated field editors by providing the `Ed
134134
| **DateTime** | `FormEditorType.DatePicker`<br /> `FormEditorType.DateTimePicker`<br> `FormEditorType.TimePicker` |
135135

136136

137-
````CSHTML
137+
````RAZOR
138138
@* The usage of the EditorType parameter *@
139139
140140
@using System.ComponentModel.DataAnnotations
@@ -228,7 +228,7 @@ The Form also exposes a `Refresh()` method that calls `StateHasChanged()` only f
228228

229229
>caption Get the Form Reference and Validate the EditContext
230230
231-
````CSHTML
231+
````RAZOR
232232
@using System.ComponentModel.DataAnnotations
233233
234234
<TelerikForm Model="@TeamMate" @ref="@FormRef" Width="300px">

components/grid/export/events.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To export a hidden Grid column that has its `Visible` parameter set to `false`,
4343

4444
>caption Using the Grid OnBeforeExport with Excel export
4545
46-
````CSHTML
46+
````RAZOR
4747
@* This example shows the capabilities of the OnBeforeExport event when exporting the Grid to Excel. *@
4848
4949
@* Required by BuiltInNumberFormats in the OnExcelBeforeExport handler *@
@@ -161,7 +161,7 @@ To export a hidden Grid column that has its `Visible` parameter set to `false`,
161161

162162
* `isCancelled` - `bool` - you can cancel the OnBeforeExcel event by setting the `isCancelled` field to `true`.
163163

164-
````CSHTML
164+
````RAZOR
165165
@* This example showcases the capabilities of the OnBeforeExport event when exporting the Grid to CSV file. *@
166166
167167
@using Telerik.Documents.SpreadsheetStreaming
@@ -259,7 +259,7 @@ The `OnAfterExport` event fires after [OnBeforeExport](#onbeforeexport) and befo
259259

260260
* `Stream` - `MemoryStream` - The output of the Excel export as a memory stream. The stream itself is finalized, so that the resource does not leak. To read and work with the stream, clone its available binary data to a new `MemoryStream` instance.
261261

262-
````Excel
262+
````RAZOR Excel
263263
@* Get the output of the excel export as a memory stream *@
264264
265265
@using System.IO
@@ -334,7 +334,7 @@ The `OnAfterExport` event fires after [OnBeforeExport](#onbeforeexport) and befo
334334

335335
* `Stream` - `MemoryStream` - The output of the CSV export as a `MemoryStream`. The stream itself is finalized, so that the resource does not leak. To read and work with the stream, clone its available binary data to a new `MemoryStream` instance.
336336

337-
````CSV
337+
````RAZOR CSV
338338
@* Get the output of the CSV export as a memory stream *@
339339
340340
@using System.IO

knowledge-base/common-custom-font-icons-fail.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ You can find the list of default values in the corresponding component's Data Bi
5252
5353
<div class="skip-repl"></div>
5454

55-
````CSHTML
55+
````RAZOR
5656
@* Just one example of including custom font icon libraries.
5757
Make sure to use the correct way and resources for your actual project *@
5858
<link href="https://cdnjs.cloudflare.com/ajax/libs/open-iconic/1.1.1/font/css/open-iconic-bootstrap.min.css" rel="stylesheet" />
@@ -119,7 +119,7 @@ There are two ways to solve this:
119119
![custom font icons success](images/custom-font-icons-success.png)
120120

121121
<div class="skip-repl"></div>
122-
````DummyIconFieldName
122+
````RAZOR DummyIconFieldName
123123
@* Just one example of including custom font icon libraries.
124124
Make sure to use the correct way and resources for your actual project *@
125125
<link href="https://cdnjs.cloudflare.com/ajax/libs/open-iconic/1.1.1/font/css/open-iconic-bootstrap.min.css" rel="stylesheet" />
@@ -172,7 +172,7 @@ Make sure to use the correct way and resources for your actual project *@
172172
}
173173
}
174174
````
175-
````CustomFontClassFieldName
175+
````RAZOR CustomFontClassFieldName
176176
@* Just one example of including custom font icon libraries.
177177
Make sure to use the correct way and resources for your actual project *@
178178
<link href="https://cdnjs.cloudflare.com/ajax/libs/open-iconic/1.1.1/font/css/open-iconic-bootstrap.min.css" rel="stylesheet" />

knowledge-base/grid-edit-on-row-double-click.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The Grid exposes two events that allows you to respond to the user clicking on i
3232
>caption Use the OnRowDoubleClick event to put the Grid in Edit mode
3333
3434
<div class="skip-repl"></div>
35-
````InlineMode
35+
````RAZOR InlineMode
3636
@* Click on a Grid row twice to place the Grid in edit mode *@
3737
3838
<TelerikGrid Data=@MyData EditMode="@GridEditMode.Inline" Pageable="true" @ref="@GridRef"
@@ -200,7 +200,7 @@ The Grid exposes two events that allows you to respond to the user clicking on i
200200
}
201201
}
202202
````
203-
````PopupMode
203+
````RAZOR PopupMode
204204
@* Click on a Grid row twice to see the custom popup edit form *@
205205
206206
<TelerikGrid Data="@MyData"

0 commit comments

Comments
 (0)