Skip to content

Commit 9958d23

Browse files
authored
Merge pull request #4039 from syncfusion-content/ES-918830
918830: Added the Accordion style documentation link in the partial view Sidebar topic.
2 parents b93fbc3 + e8fbd10 commit 9958d23

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

ej2-asp-core-mvc/code-snippet/sidebar/partial-view/razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
@Styles.Render("~/Content/css")
99
@Styles.Render("~/Content/styles.css")
1010
@Scripts.Render("~/bundles/modernizr")
11-
<link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/material.css" />
12-
<script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js"></script>
11+
<link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/28.2.3/ej2-base/styles/material.css" />
12+
<script src="https://cdn.syncfusion.com/ej2/28.2.3/dist/ej2.min.js" type="text/javascript"></script>
1313
</head>
1414
<body>
1515
@Html.Partial("_RenderPartialView")

ej2-asp-core-mvc/code-snippet/sidebar/partial-view/tagHelper

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
<title>@ViewData["Title"] - layout_page</title>
77
<!-- Syncfusion Essential JS 2 Styles -->
88
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
9-
<link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/material.css" />
10-
<link rel="stylesheet" href="~/css/styles.css" /
11-
<!-- Syncfusion Essential JS 2 Scripts -->
12-
<script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js"></script>
9+
<link rel="stylesheet" href="~/css/styles.css" />
10+
<link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/28.2.3/ej2-base/styles/material.css" />
11+
<script src="https://cdn.syncfusion.com/ej2/28.2.3/dist/ej2.min.js" type="text/javascript"></script>
1312
<environment include="Development">
1413
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
1514
<link rel="stylesheet" href="~/css/site.css" />

ej2-asp-core-mvc/sidebar/how-to/sidebar-with-partial-view.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: post
3-
title: Sidebar With Partial View in ##Platform_Name## Sidebar Component
4-
description: Learn here all about Sidebar With Partial View in Syncfusion ##Platform_Name## Sidebar component of Syncfusion Essential JS 2 and more.
3+
title: Partial View with Syncfusion ##Platform_Name## Sidebar control
4+
description: Learn here all about Sidebar With Partial View in Syncfusion ##Platform_Name## Sidebar control of Syncfusion Essential JS 2 and more.
55
platform: ej2-asp-core-mvc
66
control: Sidebar With Partial View
77
publishingplatform: ##Platform_Name##
@@ -11,10 +11,12 @@ documentation: ug
1111

1212
# Sidebar with partial view
1313

14-
The following example demonstrates how to render the sidebar with partial view. Sidebar element is placed inside the RenderPartialView.cshtml and refer that sidebar element in layout page.
14+
The example below demonstrates how to render the Sidebar using a partial view. The Sidebar element is included inside the **RenderPartialView.cshtml** file and is referenced in the layout page. The Accordion control is rendered inside the Sidebar.
1515

1616
{% if page.publishingplatform == "aspnet-core" %}
1717

18+
Additionally, you can use this [`link`](https://ej2.syncfusion.com/aspnetcore/documentation/accordion/style) for more Accordion control styles.
19+
1820
{% tabs %}
1921
{% highlight cshtml tabtitle="CSHTML" %}
2022
{% include code-snippet/sidebar/partial-view/tagHelper %}
@@ -25,10 +27,15 @@ The following example demonstrates how to render the sidebar with partial view.
2527
{% highlight c# tabtitle="_RenderPartialView_core.cshtml" %}
2628
{% include code-snippet/sidebar/partial-view/_RenderPartialView_core.cshtml %}
2729
{% endhighlight %}
30+
{% highlight c# tabtitle="style" %}
31+
{% include code-snippet/sidebar/partial-view/styles.css %}
32+
{% endhighlight %}
2833
{% endtabs %}
2934

3035
{% elsif page.publishingplatform == "aspnet-mvc" %}
3136

37+
Additionally, you can use this [`link`](https://ej2.syncfusion.com/aspnetmvc/documentation/accordion/style) for more Accordion control styles.
38+
3239
{% tabs %}
3340
{% highlight razor tabtitle="CSHTML" %}
3441
{% include code-snippet/sidebar/partial-view/razor %}
@@ -39,7 +46,11 @@ The following example demonstrates how to render the sidebar with partial view.
3946
{% highlight c# tabtitle="_RenderPartialView_mvc.cshtml" %}
4047
{% include code-snippet/sidebar/partial-view/_RenderPartialView_mvc.cshtml %}
4148
{% endhighlight %}
49+
{% highlight c# tabtitle="style" %}
50+
{% include code-snippet/sidebar/partial-view/styles.css %}
51+
{% endhighlight %}
4252
{% endtabs %}
53+
4354
{% endif %}
4455

4556

-76.7 KB
Loading

0 commit comments

Comments
 (0)