Skip to content

Commit d1b0864

Browse files
committed
chore(common): fix latest warnings
1 parent 4ca759f commit d1b0864

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

components/treelist/columns/command.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ There are four built-in commands:
5757
The command column provides access to the data item via `context`. This may be useful for conditional statements or passing parameters to custom business logic.
5858

5959
<div class="skip-repl"></div>
60-
```razor
60+
````RAZOR
6161
<TreeListCommandColumn>
6262
@{
6363
var product = context as ProductModel;
@@ -71,7 +71,7 @@ The command column provides access to the data item via `context`. This may be u
7171
}
7272
}
7373
</TreeListCommandColumn>
74-
```
74+
````
7575

7676
### OnClick Handler
7777

@@ -88,7 +88,7 @@ The `OnClick` handler of the commands receives an argument of type `TreeListComm
8888
8989
## Example
9090

91-
>caption Example of handling custom commands in a treelist
91+
>caption Example of handling custom commands in a TreeList
9292
9393
````RAZOR
9494
@* This sample showcases custom command handling for:

knowledge-base/grid-create-reusable-columns.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ To create a reusable `GridColumn` component with templates, follow these steps:
3232
2. Within the custom component, conditionally render a `GridColumn` with or without templates based on the provided parameters.
3333

3434
<div class="skip-repl"></div>
35-
````Index.razor
35+
````RAZOR Index.razor
3636
<TelerikGrid Data="@MyData" EditMode="@GridEditMode.Incell" Pageable="true" OnUpdate="@UpdateHandler">
3737
<GridColumns>
3838
<CustomColumn TItem="@Employee" Field="@(nameof(Employee.ID))"></CustomColumn>
@@ -97,7 +97,7 @@ To create a reusable `GridColumn` component with templates, follow these steps:
9797
}
9898
}
9999
````
100-
````CustomColumn.razor
100+
````RAZOR CustomColumn.razor
101101
@typeparam TItem
102102
103103
@if (IsTemplate)
@@ -153,15 +153,15 @@ else
153153
};
154154
}
155155
````
156-
````Employee.cs
156+
````CS Employee.cs
157157
public class Employee
158158
{
159159
public int ID { get; set; }
160160
public string Name { get; set; }
161161
public int RoleId { get; set; }
162162
}
163163
````
164-
````Role.cs
164+
````CS Role.cs
165165
public class Role
166166
{
167167
public int RoleId { get; set; }

0 commit comments

Comments
 (0)