Skip to content

Commit d83dd71

Browse files
author
SalmanBaris25
committed
Merge branch 'hotfix/hotfix-v26.1.35' of https://github.com/syncfusion-content/ej2-asp-core-mvc-docs into ContentControlUG_Hotfix
2 parents eade91b + 593096c commit d83dd71

File tree

150 files changed

+3898
-0
lines changed

Some content is hidden

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

150 files changed

+3898
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@using Syncfusion.EJ2.MultiColumnComboBox;
2+
3+
<div id="container" style="width: 500px">
4+
@Html.EJS().MultiColumnComboBox("text").DataSource((IEnumerable<object>)Model).Fields(new MultiColumnComboBoxFieldSettings
5+
{ Text = "Name", Value = "EmpID" }).Columns(col =>
6+
{
7+
col.Field("EmpID").Header("Employee ID").Width("90").Add();
8+
col.Field("Name").Header("Name").TextAlign(TextAlign.Right).Width("90").Add();
9+
col.Field("Designation").Header("Designation").Width("90").Add();
10+
col.Field("Country").Header("Country").Width("70").Add();
11+
}).Text("Michael").Render()
12+
</div>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@using Syncfusion.EJ2.MultiColumnComboBox;
2+
3+
<div class="container" style="width: 500px">
4+
<ejs-multicolumncombobox id="text" dataSource="ViewBag.EmpData" text="Michael">
5+
<e-multicolumncombobox-fields text="Name" value="EmpID"></e-multicolumncombobox-fields>
6+
<e-multicolumncombobox-columns>
7+
<e-multicolumncombobox-column field="EmpID" header="Employee ID" width="90"></e-multicolumncombobox-column>
8+
<e-multicolumncombobox-column field="Name" header="Name" textAlign="Right" width="90"></e-multicolumncombobox-column>
9+
<e-multicolumncombobox-column field="Designation" header="Designation" width="90"></e-multicolumncombobox-column>
10+
<e-multicolumncombobox-column field="Country" header="Country" width="70"></e-multicolumncombobox-column>
11+
</e-multicolumncombobox-columns>
12+
</ejs-multicolumncombobox>
13+
</div>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
public ActionResult Demo()
2+
{
3+
var employees = new List<Employee>
4+
{
5+
new Employee { EmpID = 1001, Name = "Andrew Fuller", Designation = "Team Lead", Country = "England" },
6+
new Employee { EmpID = 1002, Name = "Robert", Designation = "Developer", Country = "USA" },
7+
new Employee { EmpID = 1003, Name = "Michael", Designation = "HR", Country = "Russia" },
8+
new Employee { EmpID = 1004, Name = "Steven Buchanan", Designation = "Product Manager", Country = "Ukraine" },
9+
new Employee { EmpID = 1005, Name = "Margaret Peacock", Designation = "Developer", Country = "Egypt" },
10+
new Employee { EmpID = 1006, Name = "Janet Leverling", Designation = "Team Lead", Country = "Africa" },
11+
new Employee { EmpID = 1007, Name = "Alice", Designation = "Product Manager", Country = "Australia" },
12+
new Employee { EmpID = 1008, Name = "Bob", Designation = "Developer", Country = "India" },
13+
new Employee { EmpID = 1009, Name = "John", Designation = "Product Manager", Country = "Ireland" },
14+
new Employee { EmpID = 1010, Name = "Mario Pontes", Designation = "Team Lead", Country = "South Africa" },
15+
new Employee { EmpID = 1011, Name = "Yang Wang", Designation = "Developer", Country = "Russia" },
16+
new Employee { EmpID = 1012, Name = "David", Designation = "Product Manager", Country = "Egypt" },
17+
new Employee { EmpID = 1013, Name = "Antonio Bianchi", Designation = "Team Lead", Country = "USA" },
18+
new Employee { EmpID = 1014, Name = "Laura", Designation = "Developer", Country = "England" },
19+
new Employee { EmpID = 1015, Name = "Carlos Hernandez", Designation = "Developer", Country = "Canada" },
20+
new Employee { EmpID = 1016, Name = "Lily", Designation = "Product Manager", Country = "France" },
21+
new Employee { EmpID = 1017, Name = "Tom Williams", Designation = "Developer", Country = "Ukraine" },
22+
new Employee { EmpID = 1018, Name = "Grace", Designation = "Developer", Country = "Australia" },
23+
new Employee { EmpID = 1019, Name = "Olivia", Designation = "Team Lead", Country = "Ireland" },
24+
new Employee { EmpID = 1020, Name = "James", Designation = "Developer", Country = "China" }
25+
};
26+
27+
ViewBag.EmpData = employees;
28+
return View(ViewBag.EmpData);
29+
}
30+
31+
public class Employee
32+
{
33+
public int EmpID { get; set; }
34+
public string Name { get; set; }
35+
public string Designation { get; set; }
36+
public string Country { get; set; }
37+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
public ActionResult Demo()
2+
{
3+
var employees = new List<Employee>
4+
{
5+
new Employee { EmpID = 1001, Name = "Andrew Fuller", Designation = "Team Lead", Country = "England" },
6+
new Employee { EmpID = 1002, Name = "Robert", Designation = "Developer", Country = "USA" },
7+
new Employee { EmpID = 1003, Name = "Michael", Designation = "HR", Country = "Russia" },
8+
new Employee { EmpID = 1004, Name = "Steven Buchanan", Designation = "Product Manager", Country = "Ukraine" },
9+
new Employee { EmpID = 1005, Name = "Margaret Peacock", Designation = "Developer", Country = "Egypt" },
10+
new Employee { EmpID = 1006, Name = "Janet Leverling", Designation = "Team Lead", Country = "Africa" },
11+
new Employee { EmpID = 1007, Name = "Alice", Designation = "Product Manager", Country = "Australia" },
12+
new Employee { EmpID = 1008, Name = "Bob", Designation = "Developer", Country = "India" },
13+
new Employee { EmpID = 1009, Name = "John", Designation = "Product Manager", Country = "Ireland" },
14+
new Employee { EmpID = 1010, Name = "Mario Pontes", Designation = "Team Lead", Country = "South Africa" },
15+
new Employee { EmpID = 1011, Name = "Yang Wang", Designation = "Developer", Country = "Russia" },
16+
new Employee { EmpID = 1012, Name = "David", Designation = "Product Manager", Country = "Egypt" },
17+
new Employee { EmpID = 1013, Name = "Antonio Bianchi", Designation = "Team Lead", Country = "USA" },
18+
new Employee { EmpID = 1014, Name = "Laura", Designation = "Developer", Country = "England" },
19+
new Employee { EmpID = 1015, Name = "Carlos Hernandez", Designation = "Developer", Country = "Canada" },
20+
new Employee { EmpID = 1016, Name = "Lily", Designation = "Product Manager", Country = "France" },
21+
new Employee { EmpID = 1017, Name = "Tom Williams", Designation = "Developer", Country = "Ukraine" },
22+
new Employee { EmpID = 1018, Name = "Grace", Designation = "Developer", Country = "Australia" },
23+
new Employee { EmpID = 1019, Name = "Olivia", Designation = "Team Lead", Country = "Ireland" },
24+
new Employee { EmpID = 1020, Name = "James", Designation = "Developer", Country = "China" }
25+
};
26+
27+
ViewBag.EmpData = employees;
28+
return View(ViewBag.EmpData);
29+
}
30+
31+
public class Employee
32+
{
33+
public int EmpID { get; set; }
34+
public string Name { get; set; }
35+
public string Designation { get; set; }
36+
public string Country { get; set; }
37+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@using Syncfusion.EJ2.MultiColumnComboBox;
2+
3+
<div id="container" style="width: 500px">
4+
@Html.EJS().MultiColumnComboBox("actionBegin").DataSource((IEnumerable<object>)Model).ActionBegin("function(args) { actionBegin(args) }").Fields(new MultiColumnComboBoxFieldSettings
5+
{ Text = "Name", Value = "EmpID" }).Columns(col =>
6+
{
7+
col.Field("EmpID").Header("Employee ID").Width("90").Add();
8+
col.Field("Name").Header("Name").Width("90").Add();
9+
col.Field("Designation").Header("Designation").Width("90").Add();
10+
col.Field("Country").Header("Country").Width("70").Add();
11+
}).Render()
12+
</div>
13+
14+
<script>
15+
function actionBegin(args) {
16+
// your required action here..
17+
}
18+
</script>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@using Syncfusion.EJ2.MultiColumnComboBox;
2+
3+
<div class="container" style="width: 500px">
4+
<ejs-multicolumncombobox id="actionBegin" dataSource="ViewBag.EmpData" actionBegin="function(args){ actionBegin(args) }">
5+
<e-multicolumncombobox-fields text="Name" value="EmpID"></e-multicolumncombobox-fields>
6+
<e-multicolumncombobox-columns>
7+
<e-multicolumncombobox-column field="EmpID" header="Employee ID" width="90"></e-multicolumncombobox-column>
8+
<e-multicolumncombobox-column field="Name" header="Name" width="90"></e-multicolumncombobox-column>
9+
<e-multicolumncombobox-column field="Designation" header="Designation" width="90"></e-multicolumncombobox-column>
10+
<e-multicolumncombobox-column field="Country" header="Country" width="70"></e-multicolumncombobox-column>
11+
</e-multicolumncombobox-columns>
12+
</ejs-multicolumncombobox>
13+
</div>
14+
15+
<script>
16+
function actionBegin(args) {
17+
// your required action here..
18+
}
19+
</script>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
public ActionResult Demo()
2+
{
3+
var employees = new List<Employee>
4+
{
5+
new Employee { EmpID = 1001, Name = "Andrew Fuller", Designation = "Team Lead", Country = "England" },
6+
new Employee { EmpID = 1002, Name = "Robert", Designation = "Developer", Country = "USA" },
7+
new Employee { EmpID = 1003, Name = "Michael", Designation = "HR", Country = "Russia" },
8+
new Employee { EmpID = 1004, Name = "Steven Buchanan", Designation = "Product Manager", Country = "Ukraine" },
9+
new Employee { EmpID = 1005, Name = "Margaret Peacock", Designation = "Developer", Country = "Egypt" },
10+
new Employee { EmpID = 1006, Name = "Janet Leverling", Designation = "Team Lead", Country = "Africa" },
11+
new Employee { EmpID = 1007, Name = "Alice", Designation = "Product Manager", Country = "Australia" },
12+
new Employee { EmpID = 1008, Name = "Bob", Designation = "Developer", Country = "India" },
13+
new Employee { EmpID = 1009, Name = "John", Designation = "Product Manager", Country = "Ireland" },
14+
new Employee { EmpID = 1010, Name = "Mario Pontes", Designation = "Team Lead", Country = "South Africa" },
15+
new Employee { EmpID = 1011, Name = "Yang Wang", Designation = "Developer", Country = "Russia" },
16+
new Employee { EmpID = 1012, Name = "David", Designation = "Product Manager", Country = "Egypt" },
17+
new Employee { EmpID = 1013, Name = "Antonio Bianchi", Designation = "Team Lead", Country = "USA" },
18+
new Employee { EmpID = 1014, Name = "Laura", Designation = "Developer", Country = "England" },
19+
new Employee { EmpID = 1015, Name = "Carlos Hernandez", Designation = "Developer", Country = "Canada" },
20+
new Employee { EmpID = 1016, Name = "Lily", Designation = "Product Manager", Country = "France" },
21+
new Employee { EmpID = 1017, Name = "Tom Williams", Designation = "Developer", Country = "Ukraine" },
22+
new Employee { EmpID = 1018, Name = "Grace", Designation = "Developer", Country = "Australia" },
23+
new Employee { EmpID = 1019, Name = "Olivia", Designation = "Team Lead", Country = "Ireland" },
24+
new Employee { EmpID = 1020, Name = "James", Designation = "Developer", Country = "China" }
25+
};
26+
27+
ViewBag.EmpData = employees;
28+
return View(ViewBag.EmpData);
29+
}
30+
31+
public class Employee
32+
{
33+
public int EmpID { get; set; }
34+
public string Name { get; set; }
35+
public string Designation { get; set; }
36+
public string Country { get; set; }
37+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@using Syncfusion.EJ2.MultiColumnComboBox;
2+
3+
<div id="container" style="width: 500px">
4+
@Html.EJS().MultiColumnComboBox("actionComplete").DataSource((IEnumerable<object>)Model).ActionComplete("function(args) { actionComplete(args) }").Fields(new MultiColumnComboBoxFieldSettings
5+
{ Text = "Name", Value = "EmpID" }).Columns(col =>
6+
{
7+
col.Field("EmpID").Header("Employee ID").Width("90").Add();
8+
col.Field("Name").Header("Name").Width("90").Add();
9+
col.Field("Designation").Header("Designation").Width("90").Add();
10+
col.Field("Country").Header("Country").Width("70").Add();
11+
}).Render()
12+
</div>
13+
14+
<script>
15+
function actionComplete(args) {
16+
// your required action here..
17+
}
18+
</script>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@using Syncfusion.EJ2.MultiColumnComboBox;
2+
3+
<div class="container" style="width: 500px">
4+
<ejs-multicolumncombobox id="actionComplete" dataSource="ViewBag.EmpData" actionComplete="function(args){ actionComplete(args) }">
5+
<e-multicolumncombobox-fields text="Name" value="EmpID"></e-multicolumncombobox-fields>
6+
<e-multicolumncombobox-columns>
7+
<e-multicolumncombobox-column field="EmpID" header="Employee ID" width="90"></e-multicolumncombobox-column>
8+
<e-multicolumncombobox-column field="Name" header="Name" width="90"></e-multicolumncombobox-column>
9+
<e-multicolumncombobox-column field="Designation" header="Designation" width="90"></e-multicolumncombobox-column>
10+
<e-multicolumncombobox-column field="Country" header="Country" width="70"></e-multicolumncombobox-column>
11+
</e-multicolumncombobox-columns>
12+
</ejs-multicolumncombobox>
13+
</div>
14+
15+
<script>
16+
function actionComplete(args) {
17+
// your required action here..
18+
}
19+
</script>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
public ActionResult Demo()
2+
{
3+
var employees = new List<Employee>
4+
{
5+
new Employee { EmpID = 1001, Name = "Andrew Fuller", Designation = "Team Lead", Country = "England" },
6+
new Employee { EmpID = 1002, Name = "Robert", Designation = "Developer", Country = "USA" },
7+
new Employee { EmpID = 1003, Name = "Michael", Designation = "HR", Country = "Russia" },
8+
new Employee { EmpID = 1004, Name = "Steven Buchanan", Designation = "Product Manager", Country = "Ukraine" },
9+
new Employee { EmpID = 1005, Name = "Margaret Peacock", Designation = "Developer", Country = "Egypt" },
10+
new Employee { EmpID = 1006, Name = "Janet Leverling", Designation = "Team Lead", Country = "Africa" },
11+
new Employee { EmpID = 1007, Name = "Alice", Designation = "Product Manager", Country = "Australia" },
12+
new Employee { EmpID = 1008, Name = "Bob", Designation = "Developer", Country = "India" },
13+
new Employee { EmpID = 1009, Name = "John", Designation = "Product Manager", Country = "Ireland" },
14+
new Employee { EmpID = 1010, Name = "Mario Pontes", Designation = "Team Lead", Country = "South Africa" },
15+
new Employee { EmpID = 1011, Name = "Yang Wang", Designation = "Developer", Country = "Russia" },
16+
new Employee { EmpID = 1012, Name = "David", Designation = "Product Manager", Country = "Egypt" },
17+
new Employee { EmpID = 1013, Name = "Antonio Bianchi", Designation = "Team Lead", Country = "USA" },
18+
new Employee { EmpID = 1014, Name = "Laura", Designation = "Developer", Country = "England" },
19+
new Employee { EmpID = 1015, Name = "Carlos Hernandez", Designation = "Developer", Country = "Canada" },
20+
new Employee { EmpID = 1016, Name = "Lily", Designation = "Product Manager", Country = "France" },
21+
new Employee { EmpID = 1017, Name = "Tom Williams", Designation = "Developer", Country = "Ukraine" },
22+
new Employee { EmpID = 1018, Name = "Grace", Designation = "Developer", Country = "Australia" },
23+
new Employee { EmpID = 1019, Name = "Olivia", Designation = "Team Lead", Country = "Ireland" },
24+
new Employee { EmpID = 1020, Name = "James", Designation = "Developer", Country = "China" }
25+
};
26+
27+
ViewBag.EmpData = employees;
28+
return View(ViewBag.EmpData);
29+
}
30+
31+
public class Employee
32+
{
33+
public int EmpID { get; set; }
34+
public string Name { get; set; }
35+
public string Designation { get; set; }
36+
public string Country { get; set; }
37+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@using Syncfusion.EJ2.MultiColumnComboBox;
2+
3+
<div id="container" style="width: 500px">
4+
@Html.EJS().MultiColumnComboBox("actionFailure").DataSource((IEnumerable<object>)Model).ActionFailure("function(args) { actionFailure(args) }").Fields(new MultiColumnComboBoxFieldSettings
5+
{ Text = "Name", Value = "EmpID" }).Columns(col =>
6+
{
7+
col.Field("EmpID").Header("Employee ID").Width("90").Add();
8+
col.Field("Name").Header("Name").Width("90").Add();
9+
col.Field("Designation").Header("Designation").Width("90").Add();
10+
col.Field("Country").Header("Country").Width("70").Add();
11+
}).Render()
12+
</div>
13+
14+
<script>
15+
function actionFailure(args) {
16+
// your required action here..
17+
}
18+
</script>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@using Syncfusion.EJ2.MultiColumnComboBox;
2+
3+
<div class="container" style="width: 500px">
4+
<ejs-multicolumncombobox id="actionFailure" dataSource="ViewBag.EmpData" actionFailure="function(args){ actionFailure(args) }">
5+
<e-multicolumncombobox-fields text="Name" value="EmpID"></e-multicolumncombobox-fields>
6+
<e-multicolumncombobox-columns>
7+
<e-multicolumncombobox-column field="EmpID" header="Employee ID" width="90"></e-multicolumncombobox-column>
8+
<e-multicolumncombobox-column field="Name" header="Name" width="90"></e-multicolumncombobox-column>
9+
<e-multicolumncombobox-column field="Designation" header="Designation" width="90"></e-multicolumncombobox-column>
10+
<e-multicolumncombobox-column field="Country" header="Country" width="70"></e-multicolumncombobox-column>
11+
</e-multicolumncombobox-columns>
12+
</ejs-multicolumncombobox>
13+
</div>
14+
15+
<script>
16+
function actionFailure(args) {
17+
// your required action here..
18+
}
19+
</script>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
public ActionResult Demo()
2+
{
3+
var employees = new List<Employee>
4+
{
5+
new Employee { EmpID = 1001, Name = "Andrew Fuller", Designation = "Team Lead", Country = "England" },
6+
new Employee { EmpID = 1002, Name = "Robert", Designation = "Developer", Country = "USA" },
7+
new Employee { EmpID = 1003, Name = "Michael", Designation = "HR", Country = "Russia" },
8+
new Employee { EmpID = 1004, Name = "Steven Buchanan", Designation = "Product Manager", Country = "Ukraine" },
9+
new Employee { EmpID = 1005, Name = "Margaret Peacock", Designation = "Developer", Country = "Egypt" },
10+
new Employee { EmpID = 1006, Name = "Janet Leverling", Designation = "Team Lead", Country = "Africa" },
11+
new Employee { EmpID = 1007, Name = "Alice", Designation = "Product Manager", Country = "Australia" },
12+
new Employee { EmpID = 1008, Name = "Bob", Designation = "Developer", Country = "India" },
13+
new Employee { EmpID = 1009, Name = "John", Designation = "Product Manager", Country = "Ireland" },
14+
new Employee { EmpID = 1010, Name = "Mario Pontes", Designation = "Team Lead", Country = "South Africa" },
15+
new Employee { EmpID = 1011, Name = "Yang Wang", Designation = "Developer", Country = "Russia" },
16+
new Employee { EmpID = 1012, Name = "David", Designation = "Product Manager", Country = "Egypt" },
17+
new Employee { EmpID = 1013, Name = "Antonio Bianchi", Designation = "Team Lead", Country = "USA" },
18+
new Employee { EmpID = 1014, Name = "Laura", Designation = "Developer", Country = "England" },
19+
new Employee { EmpID = 1015, Name = "Carlos Hernandez", Designation = "Developer", Country = "Canada" },
20+
new Employee { EmpID = 1016, Name = "Lily", Designation = "Product Manager", Country = "France" },
21+
new Employee { EmpID = 1017, Name = "Tom Williams", Designation = "Developer", Country = "Ukraine" },
22+
new Employee { EmpID = 1018, Name = "Grace", Designation = "Developer", Country = "Australia" },
23+
new Employee { EmpID = 1019, Name = "Olivia", Designation = "Team Lead", Country = "Ireland" },
24+
new Employee { EmpID = 1020, Name = "James", Designation = "Developer", Country = "China" }
25+
};
26+
27+
ViewBag.EmpData = employees;
28+
return View(ViewBag.EmpData);
29+
}
30+
31+
public class Employee
32+
{
33+
public int EmpID { get; set; }
34+
public string Name { get; set; }
35+
public string Designation { get; set; }
36+
public string Country { get; set; }
37+
}

0 commit comments

Comments
 (0)