Skip to content

Commit da4375e

Browse files
authored
Merge pull request #14 from kmuthukumar23/EJ2-26156-blazor-samples
config(EJ2-26156): commit for resolving the sample related issues
2 parents 63902b2 + 74dbed1 commit da4375e

36 files changed

+205
-129
lines changed

ej2-blazor-samples/Pages/Buttons/Button/DropDownButton.razor

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
@page "/Buttons/DropDownButton"
22

3-
@using Syncfusion.EJ2.RazorComponents.Buttons
3+
@using Syncfusion.EJ2.RazorComponents.SplitButtons
4+
45

56
@*Hidden:Lines*@
67
@using ej2_blazor_samples
78
@{
8-
SampleBrowser.CurrentSampleName = SampleBrowser.Config.Button[4].Name;
9-
SampleBrowser.CurrentControlName = "Button";
10-
SampleBrowser.CurrentControlCategory = "Button";
11-
SampleBrowser.CurrentControl = SampleBrowser.Config.Button;
12-
SampleBrowser.ActionDescription = new string[] {
9+
SampleBrowser.CurrentSampleName = SampleBrowser.Config.Button[4].Name;
10+
SampleBrowser.CurrentControlName = "Button";
11+
SampleBrowser.CurrentControlCategory = "Button";
12+
SampleBrowser.CurrentControl = SampleBrowser.Config.Button;
13+
SampleBrowser.ActionDescription = new string[] {
1314
@"<p>This sample demonstrates the default functionalities of the DropDownButton. Clicking DropDownButton will display popup with list of action items.</p>"
1415
};
15-
SampleBrowser.Description = new string[]{
16+
SampleBrowser.Description = new string[]{
1617
@"<p>
1718
The DropDownButton component is used to toggle contextual overlays for displaying list of action items. It can contain both text and images.
1819
</p>
@@ -159,10 +160,10 @@
159160
@functions{
160161

161162
public List<object> items { get; set; } = new List<object>
162-
{
163+
{
163164
new { text = "Dashboard", iconCss = "e-ddb-icons e-dashboard" },
164165
new { text = "Notifications", iconCss = "e-ddb-icons e-notifications" },
165166
new { text = "User Settings", iconCss = "e-ddb-icons e-settings" },
166167
new { text = "Log Out", iconCss = "e-ddb-icons e-logout" }
167168
};
168-
}
169+
}

ej2-blazor-samples/Pages/Calendars/Calendar/DateRange.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@page "/Calendar/DateRange"
22

3+
@using Syncfusion.EJ2.RazorComponents.Calendars
4+
35
@*Hidden:Lines*@
46
@using ej2_blazor_samples
57
@{

ej2-blazor-samples/Pages/Calendars/Calendar/DefaultFunctionalities.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@page "/Calendar/DefaultFunctionalities"
22

3+
@using Syncfusion.EJ2.RazorComponents.Calendars
4+
35
@*Hidden:Lines*@
46
@using ej2_blazor_samples
57
@{

ej2-blazor-samples/Pages/Calendars/Calendar/MultiSelection.razor

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@page "/Calendar/MultiSelection"
22

3+
@using Syncfusion.EJ2.RazorComponents.Calendars
4+
35
@*Hidden:Lines*@
46
@using ej2_blazor_samples
57
@{
@@ -8,10 +10,10 @@
810
SampleBrowser.CurrentControlCategory = "Calendar";
911
SampleBrowser.CurrentControl = SampleBrowser.Config.Calendar;
1012
SampleBrowser.ActionDescription = new string[] {
11-
13+
1214
};
1315
SampleBrowser.Description = new string[]{
14-
16+
1517
};
1618
}
1719
@*End:Hidden*@
@@ -34,6 +36,6 @@
3436
</style>
3537

3638
@functions {
37-
public bool multiSelection {get;set;} = true;
39+
public bool multiSelection { get; set; } = true;
3840
public DateTime[] multiValue = new DateTime[] { new DateTime(DateTime.Now.Year, DateTime.Now.Month, 10), new DateTime(DateTime.Now.Year, DateTime.Now.Month, 15), new DateTime(DateTime.Now.Year, DateTime.Now.Month, 25) };
3941
}

ej2-blazor-samples/Pages/Calendars/DatePicker/DateRange.razor

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@page "/DatePicker/DateRange"
22

3+
@using Syncfusion.EJ2.RazorComponents.Calendars
4+
35
@*Hidden:Lines*@
46
@using ej2_blazor_samples
57
@{
@@ -42,7 +44,7 @@
4244
</style>
4345

4446
@functions{
45-
public DateTime value {get;set;} = new DateTime(DateTime.Now.Year,DateTime.Now.Month,10);
46-
public DateTime minDate {get;set;} = new DateTime(DateTime.Now.Year,DateTime.Now.Month,05);
47-
public DateTime maxDate {get;set;} = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 27);
47+
public DateTime value { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 10);
48+
public DateTime minDate { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 05);
49+
public DateTime maxDate { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 27);
4850
}

ej2-blazor-samples/Pages/Calendars/DatePicker/DefaultFunctionalities.razor

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@page "/DatePicker/DefaultFunctionalities"
22

3+
@using Syncfusion.EJ2.RazorComponents.Calendars
4+
35
@*Hidden:Lines*@
46
@using ej2_blazor_samples
57
@{
@@ -27,7 +29,7 @@
2729
<div class="control-section">
2830
<div id="wrapper" class="datepicker-section">
2931
<div id="datepicker-control">
30-
<EjsDatePicker id="datepicker" placeholder="Choose a Date"></EjsDatePicker>
32+
<EjsDatePicker id="datepicker" placeholder="Choose a Date"></EjsDatePicker>
3133
</div>
3234
</div>
3335
</div>

ej2-blazor-samples/Pages/Calendars/DatePicker/Format.razor

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@page "/DatePicker/Format"
22

3+
@using Syncfusion.EJ2.RazorComponents.Calendars
4+
35
@*Hidden:Lines*@
46
@using ej2_blazor_samples
57
@{
@@ -45,5 +47,5 @@
4547
</style>
4648

4749
@functions{
48-
public DateTime value {get;set;} = new DateTime(DateTime.Now.Year,DateTime.Now.Month,10);
50+
public DateTime value { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 10);
4951
}

ej2-blazor-samples/Pages/Calendars/DateRangePicker/DateRange.razor

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@page "/DateRangePicker/DateRange"
22

3+
@using Syncfusion.EJ2.RazorComponents.Calendars
4+
35
@*Hidden:Lines*@
46
@using ej2_blazor_samples
57
@{
@@ -29,7 +31,7 @@
2931

3032
<div class="control-section">
3133
<div id="wrapper">
32-
<EjsDateRangePicker id="daterangepicker" placeHolder="Choose a Range" min="minDate" max="maxDate"></EjsDateRangePicker>
34+
<EjsDateRangePicker id="daterangepicker" placeHolder="Choose a Range" min="minDate" max="maxDate"></EjsDateRangePicker>
3335
</div>
3436
</div>
3537

@@ -42,6 +44,6 @@
4244
</style>
4345

4446
@functions{
45-
public DateTime minDate {get;set;} = new DateTime(2017, 01, 05);
46-
public DateTime maxDate {get;set;} = new DateTime(2017, 12, 20);
47+
public DateTime minDate { get; set; } = new DateTime(2017, 01, 05);
48+
public DateTime maxDate { get; set; } = new DateTime(2017, 12, 20);
4749
}

ej2-blazor-samples/Pages/Calendars/DateRangePicker/DefaultFunctionalities.razor

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@page "/DateRangePicker/DefaultFunctionalities"
22

3+
@using Syncfusion.EJ2.RazorComponents.Calendars
4+
35
@*Hidden:Lines*@
46
@using ej2_blazor_samples
57
@{
@@ -25,11 +27,11 @@
2527
@*End:Hidden*@
2628

2729
<div class="control-section">
28-
<div id="wrapper">
29-
<div class="wrap">
30-
<EjsDateRangePicker id="daterangepicker" placeHolder="Choose a Range"></EjsDateRangePicker>
31-
</div>
30+
<div id="wrapper">
31+
<div class="wrap">
32+
<EjsDateRangePicker id="daterangepicker" placeHolder="Choose a Range"></EjsDateRangePicker>
3233
</div>
34+
</div>
3335
</div>
3436

3537
<style>

ej2-blazor-samples/Pages/Calendars/DateRangePicker/Format.razor

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@page "/DateRangePicker/Format"
22

3-
@using Syncfusion.EJ2.RazorComponents.Calendars
4-
@using System
3+
@using Syncfusion.EJ2.RazorComponents.Calendars;
4+
@using System;
55

66
@*Hidden:Lines*@
77
@using ej2_blazor_samples
@@ -46,6 +46,6 @@
4646
</style>
4747

4848
@functions{
49-
public DateTime start {get;set;} = DateTime.Now;
50-
public DateTime end {get;set;} = DateTime.Now.AddDays(20);
49+
public DateTime start { get; set; } = DateTime.Now;
50+
public DateTime end { get; set; } = DateTime.Now.AddDays(20);
5151
}

0 commit comments

Comments
 (0)