Skip to content

Commit 2a4c78d

Browse files
update docs for Preview 4
1 parent 8c6466b commit 2a4c78d

File tree

5 files changed

+5
-12
lines changed

5 files changed

+5
-12
lines changed

_contentTemplates/common/get-started.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ To get access to the UI for Blazor components, follow these steps:
8282

8383
**CSHTML**
8484

85+
@using Telerik.Blazor.Components.Button
86+
8587
<TelerikButton>Say Hello</TelerikButton>
8688
8789
1. Optionally, hook up a click handler that will show a message. The resulting view should look like this:
@@ -90,6 +92,7 @@ To get access to the UI for Blazor components, follow these steps:
9092

9193
@page "/"
9294
@using Microsoft.AspNetCore.Components
95+
@using Telerik.Blazor.Components.Button
9396

9497
<TelerikButton OnClick="@SayHelloHandler" Class="k-primary">Say Hello</TelerikButton>
9598

getting-started/client-blazor.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ For client-side Blazor, we recommend the usage of `Blazor (ASP.NET Hosted)` proj
4545

4646
![Add Telerik Blazor Package to Client Project](images/add-telerik-nuget-to-client-app.png)
4747

48-
1. Open the `_ViewImports.cshtml` at the root of the client web application and add the following line to register the Telerik components for the entire project:
49-
50-
**CSHTML**
51-
52-
@addTagHelper *,Telerik.Blazor
5348
5449
1. Open the `~/wwwroot/index.html` file in the client web application and register the [Theme stylesheet]({%slug general-information/themes%}) (make sure to use the correct version that matches the official Kendo UI for jQuery release number):
5550

@@ -76,7 +71,7 @@ For client-side Blazor, we recommend the usage of `Blazor (ASP.NET Hosted)` proj
7671
}
7772

7873

79-
Now your project can use the Telerik UI for Blazor components in all its views.
74+
Now your project can use the Telerik UI for Blazor components.
8075

8176
## Add a Telerik Component to a View
8277

3.16 KB
Loading
-5.38 KB
Loading

getting-started/server-blazor.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ To use Blazor server-side, you need to use the `Razor Components` type of projec
4545

4646
![Add Telerik Blazor Package to the project](images/add-telerik-nuget-to-server-app.png)
4747

48-
1. Open the `~/Components/_ViewImports.cshtml` file and add the following line to register the Telerik components for all component files:
49-
50-
**CSHTML**
51-
52-
@addTagHelper *,Telerik.Blazor
5348
5449
1. Open the `~/Pages/Index.cshtml` and register the [Theme stylesheet]({%slug general-information/themes%}) (note the escaping for the `@` symbol):
5550

@@ -77,7 +72,7 @@ To use Blazor server-side, you need to use the `Razor Components` type of projec
7772

7873

7974

80-
Now your project can use the Telerik UI for Blazor components in all its component files.
75+
Now your project can use the Telerik UI for Blazor components.
8176

8277
## Add a Telerik Component to a View
8378

0 commit comments

Comments
 (0)