From 0b1000ed332a84a38e96d855c84324472f870e39 Mon Sep 17 00:00:00 2001 From: suba-1997 Date: Thu, 23 Jan 2025 16:04:20 +0530 Subject: [PATCH 1/3] 934883: Test and resolve issues in UG all sections - ASP core MVC Dashboard Layout control. --- .../adaptive-layout/CSHTML.cs | 4 + .../adaptive-layout/tagHelper | 8 +- .../dashboard-layout/add-panel/CSHTML.cs | 4 + .../dashboard-layout/add-panel/tagHelper | 19 ++- .../dashboard-layout/cell-spacing/CSHTML.cs | 4 + .../dashboard-layout/cell-spacing/tagHelper | 9 +- .../dashboard-layout/content-panel/CSHTML.cs | 4 + .../dashboard-layout/content-panel/tagHelper | 9 +- .../disable-dragging/CSHTML.cs | 4 + .../disable-dragging/tagHelper | 10 +- .../dashboard-layout/drag-and-drop/CSHTML.cs | 4 + .../dashboard-layout/drag-and-drop/tagHelper | 31 +++-- .../floating-panels/CSHTML.cs | 5 + .../floating-panels/tagHelper | 11 +- .../graphical-representation/CSHTML.cs | 4 + .../graphical-representation/tagHelper | 9 +- .../modifying-cell-size/CSHTML.cs | 5 + .../modifying-cell-size/tagHelper | 10 +- .../dashboard-layout/moving/CSHTML.cs | 4 + .../dashboard-layout/moving/tagHelper | 26 ++-- .../dashboard-layout/panel-position/CSHTML.cs | 4 + .../dashboard-layout/panel-position/tagHelper | 9 +- .../dashboard-layout/panel-size/CSHTML.cs | 4 + .../dashboard-layout/panel-size/tagHelper | 11 +- .../placing-content/CSHTML.cs | 21 ++++ .../placing-content/tagHelper | 113 ++++++++++++------ .../dashboard-layout/resize-panel/CSHTML.cs | 4 + .../dashboard-layout/resize-panel/tagHelper | 20 ++-- .../resizing-panels/CSHTML.cs | 5 + .../resizing-panels/tagHelper | 27 +++-- .../dashboard-layout/rtl/CSHTML.cs | 4 + .../dashboard-layout/rtl/tagHelper | 9 +- .../state-maintenance/CSHTML.cs | 5 + .../state-maintenance/tagHelper | 31 ++--- .../EJ2_ASP.MVC/getting-started.md | 8 +- .../EJ2_ASP.NETCORE/getting-started.md | 10 +- .../dashboard-layout/adaptive-layout.md | 4 +- .../dashboard-layout/configuring-layout.md | 16 +-- .../dashboard-layout/floating-panel.md | 4 +- .../dragging-of-panels.md | 8 +- .../interaction-with-panels/moving-panels.md | 4 +- .../resizing-of-panels.md | 8 +- .../panels/position-sizing-of-panels.md | 8 +- .../panels/setting-header-of-panels.md | 8 +- 44 files changed, 379 insertions(+), 150 deletions(-) create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/adaptive-layout/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/add-panel/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/cell-spacing/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/content-panel/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/disable-dragging/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/drag-and-drop/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/floating-panels/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/graphical-representation/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/modifying-cell-size/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/moving/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-position/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-size/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/placing-content/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/resize-panel/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/resizing-panels/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/rtl/CSHTML.cs create mode 100644 ej2-asp-core-mvc/code-snippet/dashboard-layout/state-maintenance/CSHTML.cs diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/adaptive-layout/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/adaptive-layout/CSHTML.cs new file mode 100644 index 0000000000..b960336add --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/adaptive-layout/CSHTML.cs @@ -0,0 +1,4 @@ +public class adaptiveSpacingModel +{ + public double[]? cellSpacing { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/adaptive-layout/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/adaptive-layout/tagHelper index 78c05a5429..b2b54e1464 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/adaptive-layout/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/adaptive-layout/tagHelper @@ -1,6 +1,12 @@ + +@{ + .... + adaptiveSpacingModel modelValue = new adaptiveSpacingModel(); + modelValue.cellSpacing = new double[] { 20, 20 }; +}
- + diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/add-panel/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/add-panel/CSHTML.cs new file mode 100644 index 0000000000..85216ca578 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/add-panel/CSHTML.cs @@ -0,0 +1,4 @@ +public class panelCellSpacingModel +{ + public double[]? cellSpacing { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/add-panel/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/add-panel/tagHelper index 6e334eebeb..2762470aaf 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/add-panel/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/add-panel/tagHelper @@ -1,3 +1,10 @@ +@{ + ... + var data = new string[] { "Panel0", "Panel1", "Panel2", "Panel3", "Panel4", "Panel5", "Panel6" }; + panelCellSpacingModel modelValue = new panelCellSpacingModel(); + modelValue.cellSpacing = new double[] { 10, 10 }; +} +
@@ -21,7 +28,7 @@
- +
@@ -33,7 +40,7 @@
- + @@ -102,12 +109,12 @@ #control_dash { display: block; - width:60%; - float:left; - } + width: 60%; + float: left; + } #api_property { display: inline-block; - margin:30px; + margin: 30px; } \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/cell-spacing/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/cell-spacing/CSHTML.cs new file mode 100644 index 0000000000..d89330ddc4 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/cell-spacing/CSHTML.cs @@ -0,0 +1,4 @@ +public class cellSpacingModel +{ + public double[] cellSpacing { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/cell-spacing/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/cell-spacing/tagHelper index 26cce8adb1..2ef6d5d1c7 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/cell-spacing/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/cell-spacing/tagHelper @@ -1,6 +1,13 @@ +@{ + ... + cellSpacingModel modelValue = new cellSpacingModel(); + modelValue.cellSpacing = new double[] { 20, 20 }; +} + +
- + diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/content-panel/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/content-panel/CSHTML.cs new file mode 100644 index 0000000000..bdf391e654 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/content-panel/CSHTML.cs @@ -0,0 +1,4 @@ + public class panelCellSpacingModel + { + public double[]? cellSpacing { get; set; } + } \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/content-panel/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/content-panel/tagHelper index 4efb47ab6c..9b655bb943 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/content-panel/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/content-panel/tagHelper @@ -1,6 +1,13 @@ +@{ + ... + panelCellSpacingModel modelValue = new panelCellSpacingModel(); + modelValue.cellSpacing = new double[] { 10, 10 }; +} + +
- + diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/disable-dragging/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/disable-dragging/CSHTML.cs new file mode 100644 index 0000000000..85c1596770 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/disable-dragging/CSHTML.cs @@ -0,0 +1,4 @@ +public class ddCellSpacingModel +{ + public double[]? cellSpacing { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/disable-dragging/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/disable-dragging/tagHelper index 0f687c4818..e0bac3cf55 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/disable-dragging/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/disable-dragging/tagHelper @@ -1,7 +1,11 @@ -@model WebApplication.Controllers.HomeController.spacingModel +@{ + ... + ddCellSpacingModel modelValue = new ddCellSpacingModel(); + modelValue.cellSpacing = new double[] { 10, 10 }; +}
- + @@ -29,4 +33,4 @@ text-align: center; line-height: 90px; } - \ No newline at end of file + diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/drag-and-drop/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/drag-and-drop/CSHTML.cs new file mode 100644 index 0000000000..85c1596770 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/drag-and-drop/CSHTML.cs @@ -0,0 +1,4 @@ +public class ddCellSpacingModel +{ + public double[]? cellSpacing { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/drag-and-drop/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/drag-and-drop/tagHelper index d5e34c240b..83eff18eb3 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/drag-and-drop/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/drag-and-drop/tagHelper @@ -1,6 +1,13 @@ +@{ + ... + ddCellSpacingModel modelValue = new ddCellSpacingModel(); + modelValue.cellSpacing = new double[] { 10, 10 }; +} + +
- + @@ -21,18 +28,18 @@
\ No newline at end of file + diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/floating-panels/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/floating-panels/CSHTML.cs new file mode 100644 index 0000000000..611ee0f9fd --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/floating-panels/CSHTML.cs @@ -0,0 +1,5 @@ +public class floatingSpacingModel +{ + public double[]? cellSpacing { get; set; } +} + \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/floating-panels/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/floating-panels/tagHelper index 819f2f22e8..5ba87fae1d 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/floating-panels/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/floating-panels/tagHelper @@ -1,11 +1,18 @@ + +@{ + .... + floatingSpacingModel modelValue = new floatingSpacingModel(); + modelValue.cellSpacing = new double[] { 10, 10 }; +} +
- +
- + diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/graphical-representation/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/graphical-representation/CSHTML.cs new file mode 100644 index 0000000000..d89330ddc4 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/graphical-representation/CSHTML.cs @@ -0,0 +1,4 @@ +public class cellSpacingModel +{ + public double[] cellSpacing { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/graphical-representation/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/graphical-representation/tagHelper index 5430e4586c..f97ed74bf0 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/graphical-representation/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/graphical-representation/tagHelper @@ -1,6 +1,13 @@ +@{ + ... + cellSpacingModel modelValue = new cellSpacingModel(); + modelValue.cellSpacing = new double[] { 10, 10 }; +} + +
- + diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/modifying-cell-size/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/modifying-cell-size/CSHTML.cs new file mode 100644 index 0000000000..432efe815c --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/modifying-cell-size/CSHTML.cs @@ -0,0 +1,5 @@ +public class cellSpacingModel +{ + public double[] cellSpacing { get; set; } + public double aspectRatio { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/modifying-cell-size/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/modifying-cell-size/tagHelper index 2d9d77c3f7..6c7b82ef6b 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/modifying-cell-size/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/modifying-cell-size/tagHelper @@ -1,6 +1,14 @@ +@{ + ... + cellSpacingModel modelValue = new cellSpacingModel(); + modelValue.cellSpacing = new double[] { 10, 10 }; + modelValue.aspectRatio = 100 / 50; +} + +
- + diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/moving/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/moving/CSHTML.cs new file mode 100644 index 0000000000..85c1596770 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/moving/CSHTML.cs @@ -0,0 +1,4 @@ +public class ddCellSpacingModel +{ + public double[]? cellSpacing { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/moving/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/moving/tagHelper index 4999ab9b29..98d8d5b494 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/moving/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/moving/tagHelper @@ -1,7 +1,11 @@ -@model WebApplication.Controllers.HomeController.spacingModel +@{ + ... + ddCellSpacingModel modelValue = new ddCellSpacingModel(); + modelValue.cellSpacing = new double[] { 10, 10 }; +}
- + @@ -21,14 +25,14 @@
\ No newline at end of file + diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-position/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-position/CSHTML.cs new file mode 100644 index 0000000000..85216ca578 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-position/CSHTML.cs @@ -0,0 +1,4 @@ +public class panelCellSpacingModel +{ + public double[]? cellSpacing { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-position/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-position/tagHelper index 2d60e2cace..86682d5f18 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-position/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-position/tagHelper @@ -1,6 +1,13 @@ +@{ + .. + panelCellSpacingModel modelValue = new panelCellSpacingModel(); + modelValue.cellSpacing = new double[] { 20, 20 }; +} + +
- + diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-size/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-size/CSHTML.cs new file mode 100644 index 0000000000..85216ca578 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-size/CSHTML.cs @@ -0,0 +1,4 @@ +public class panelCellSpacingModel +{ + public double[]? cellSpacing { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-size/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-size/tagHelper index 8972fe9c3c..2c8f1fc015 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-size/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/panel-size/tagHelper @@ -1,6 +1,13 @@ +@{ + ... + panelCellSpacingModel modelValue = new panelCellSpacingModel(); + modelValue.cellSpacing = new double[] { 20, 20 }; +} + +
- + @@ -30,4 +37,4 @@ text-align: center; line-height: 90px; } - + \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/placing-content/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/placing-content/CSHTML.cs new file mode 100644 index 0000000000..e8949d6e67 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/placing-content/CSHTML.cs @@ -0,0 +1,21 @@ +public class componentSpacingModel +{ + public double[]? cellSpacing { get; set; } +} +public class ChartData +{ + public string? month; + public double sales; +} +public class LineData +{ + public double x; + public double y; +} + +public class PieData +{ + public string x; + public double y; + public string? text; +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/placing-content/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/placing-content/tagHelper index 736e9fbf24..f75f9a68c2 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/placing-content/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/placing-content/tagHelper @@ -1,6 +1,49 @@ +@{ + ... + componentSpacingModel modelValue = new componentSpacingModel(); + modelValue.cellSpacing = new double[] { 10, 10 }; + + List chartData = new List + { + new ChartData { month = "Jan", sales = 35, }, + new ChartData { month = "Feb", sales = 28, }, + new ChartData { month = "Mar", sales = 34, }, + new ChartData { month = "Apr", sales = 32, }, + new ChartData { month = "May", sales = 40, }, + new ChartData { month = "Jun", sales = 32, }, + new ChartData { month = "Jul", sales = 35, }, + new ChartData { month = "Aug", sales = 55, }, + new ChartData { month = "Sep", sales = 38, }, + new ChartData { month = "Oct", sales = 30, }, + new ChartData { month = "Nov", sales = 25, }, + new ChartData { month = "Dec", sales = 32, } + }; + + List lineData = new List + { + new LineData { x = 2013, y = 28, }, + new LineData { x = 2014, y = 25, }, + new LineData { x = 2015, y = 26, }, + new LineData { x = 2016, y = 27, }, + new LineData { x = 2017, y = 32, }, + new LineData { x = 2018, y = 35, } + }; + + List pieData1 = new List + { + new PieData { x = "Chrome", y = 37, text = "37%", }, + new PieData { x = "UC Browser", y = 17, text = "17%", }, + new PieData { x = "iPhone", y = 19, text = "19%", }, + new PieData { x = "Others", y = 4, text = "4%", }, + new PieData { x = "Opera", y = 11, text = "11%", }, + new PieData { x = "Android", y = 12, text = "12%", } + }; +} + +
- + @@ -12,15 +55,15 @@
- - - - - - - - - + + + + + + + + +
@@ -36,19 +79,19 @@
- - - - - - - - - - - - - + + + + + + + + + + + + +
@@ -64,15 +107,15 @@
- - - - - - - - - + + + + + + + + +
@@ -129,9 +172,9 @@ height: 30px } - .e-dashboard-layout.e-control .e-panel .e-panel-header div { - text-align: center; - } + .e-dashboard-layout.e-control .e-panel .e-panel-header div { + text-align: center; + } .header { padding: 5px; diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/resize-panel/CSHTML.cs b/ej2-asp-core-mvc/code-snippet/dashboard-layout/resize-panel/CSHTML.cs new file mode 100644 index 0000000000..85c1596770 --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/resize-panel/CSHTML.cs @@ -0,0 +1,4 @@ +public class ddCellSpacingModel +{ + public double[]? cellSpacing { get; set; } +} \ No newline at end of file diff --git a/ej2-asp-core-mvc/code-snippet/dashboard-layout/resize-panel/tagHelper b/ej2-asp-core-mvc/code-snippet/dashboard-layout/resize-panel/tagHelper index ebc50986f9..982df4bb71 100644 --- a/ej2-asp-core-mvc/code-snippet/dashboard-layout/resize-panel/tagHelper +++ b/ej2-asp-core-mvc/code-snippet/dashboard-layout/resize-panel/tagHelper @@ -1,7 +1,11 @@ -@model WebApplication.Controllers.HomeController.spacingModel +@{ + ... + ddCellSpacingModel modelValue = new ddCellSpacingModel(); + modelValue.cellSpacing = new double[] { 10, 10 }; +}
- + @@ -21,12 +25,12 @@