Skip to content

Commit dd418bc

Browse files
committed
Replace CSHTML with RAZOR
1 parent e2c29f1 commit dd418bc

File tree

1,005 files changed

+1808
-1809
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,005 files changed

+1808
-1809
lines changed

_contentTemplates/chart/link-to-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This article assumes you are familiar with the [chart basics]({%slug components/
77

88
Bar and Column charts can take the color of the series item from the `ColorField` of the data source. You can pass a valid CSS color (for example, `#abcdef`, `#f00`, or `blue`).
99

10-
````CSHTML
10+
````RAZOR
1111
Colors per series item
1212
1313
<TelerikChart>

_contentTemplates/common/format-placeholders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ By default the value for all parameters would be `null`, the full format specifi
2424

2525
>caption Provide a custom string to the day, month, and year segments
2626
27-
````CSHTML
27+
````RAZOR
2828
@* Provide custom rendering of the day, month, and year segments *@
2929
3030
<TelerikDatePicker @bind-Value="@DateValue">

_contentTemplates/common/inputs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ When using the [`PrefixTemplate`]({%slug common-features/input-adornments%}#addi
1919

2020
To ensure both the FloatingLabel and the prefix content are properly displayed, move the label with CSS:
2121

22-
````CSHTML
22+
````RAZOR
2323
<style>
2424
.custom-label-class .k-floating-label {
2525
margin-left: 30px;

_contentTemplates/grid/common-link.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
#conditional-style-row-and-cell-render
7-
````CSHTML
7+
````RAZOR
88
@* Conditional styling/formatting for a cell and row *@
99
1010
<style>
@@ -172,7 +172,7 @@ A multi-header column does not show up in the list of columns in the column choo
172172
The state of a multi-header column is handled in the same way as a standard column. The columns in the state are listed in a flat list in the order of definition. For example, for the following setup:
173173

174174
<div class="skip-repl"></div>
175-
````CSHTML
175+
````RAZOR
176176
<TelerikGrid>
177177
<GridColumns>
178178
<GridColumn Title="column 1">

_contentTemplates/treeview/basic-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#basic-example
22

3-
````CSHTML
3+
````RAZOR
44
Sample treeview bound to self-referencing flat data. Also uses the built-in icons from the Telerik suite
55
66
<TelerikTreeView Data="@FlatData" @bind-ExpandedItems="@ExpandedItems">

common-features/adaptive-rendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Optionally, you may set the `Title` and `Subtitle` parameters to provide custom
4545
>caption Enable the adaptive rendering
4646
4747
<div class="skip-repl"></div>
48-
````CSHTML
48+
````RAZOR
4949
// NOTE: The configurations below includes only the DropDownList, but it is applicable to all of the above listed components
5050
5151
// Adapts to the screen size to use the appropriate rendering.

common-features/data-binding/descriptors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The user may group by multiple fields. The groups for subsequent fields will be
130130

131131
You can obtain the FilterDescriptor, SortDescriptor, and GroupDescriptor in the `OnRead` event handler.
132132

133-
````CSHTML
133+
````RAZOR
134134
@using Telerik.DataSource
135135
@using Telerik.DataSource.Extensions
136136
@@ -222,7 +222,7 @@ You can obtain the FilterDescriptor, SortDescriptor, and GroupDescriptor in the
222222

223223
You can obtain the FilterDescriptor, SearchFilter, SortDescriptor, and GroupDescriptor through the component's state.
224224

225-
````CSHTML
225+
````RAZOR
226226
@using System.Text.Json
227227
@using Telerik.DataSource
228228

common-features/data-binding/onread.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Let's imagine that our datasource contains 1,000 items, and we want to send only
152152

153153
>caption Using the OnRead event
154154
155-
````CSHTML
155+
````RAZOR
156156
@using Telerik.DataSource.Extensions
157157
158158
<TelerikGrid TItem="@SampleModel"
@@ -217,7 +217,7 @@ Also check [how to rebind and refresh a component with a `Timer`]({%slug common-
217217

218218
>caption Rebind DropDownList and Grid when using OnRead
219219
220-
````CSHTML
220+
````RAZOR
221221
@using Telerik.DataSource.Extensions
222222
223223
<TelerikDropDownList @ref="@TheDropDown"

common-features/data-binding/overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ All databound components are generic and their type depends on the model type `T
4747
4848
<div class="skip-repl"></div>
4949

50-
````CSHTML
50+
````RAZOR
5151
<TelerikGrid @ref="@Grid1" />
5252
<TelerikComboBox @ref="@Combo1" />
5353
@@ -68,7 +68,7 @@ If the component `Data` is not set initially, set the `TItem` parameter to point
6868
6969
<div class="skip-repl"></div>
7070

71-
````CSHTML
71+
````RAZOR
7272
<TelerikGrid TItem="@SampleModel" />
7373
7474
<TelerikComboBox TItem="@SampleModel"
@@ -114,7 +114,7 @@ Thus, you will usually need to create a new reference for `Data` value in order
114114

115115
>caption Call `Rebind()` or create new Data reference
116116
117-
````CSHTML
117+
````RAZOR
118118
<p>
119119
<TelerikButton OnClick="@RefreshGridData">Refresh Grid Data</TelerikButton>
120120
</p>

common-features/dimensions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The examples here showcase different units and examples of using them to set dim
3838

3939
>caption Setting sizes in different dimensions (percent, pixel, vw in this sample)
4040
41-
````CSHTML
41+
````RAZOR
4242
<div style="width: 500px; border: 1px solid red;">
4343
<TelerikTextBox Width="50%" />
4444
<br />
@@ -52,7 +52,7 @@ The examples here showcase different units and examples of using them to set dim
5252

5353
>caption Using auto width to have an element adjust to its contents
5454
55-
````CSHTML
55+
````RAZOR
5656
<TelerikDropDownList Data="@MyList" @bind-Value="MyItem">
5757
<DropDownListSettings>
5858
<DropDownListPopupSettings Width="auto" />
@@ -78,7 +78,7 @@ The examples here showcase different units and examples of using them to set dim
7878

7979
>caption Position is controlled by the parent element with special positioning
8080
81-
````CSHTML
81+
````RAZOR
8282
<TelerikWindow Visible="true" Top="100px" Left="100px" Width="30vw" Height="40vh">
8383
<WindowContent>
8484
The parent element of the window is the TelerikRootComponent which should match the app element and the viewport.

0 commit comments

Comments
 (0)