Getting Started with EJ 1 ASP.NET MVC GroupButton
26 Apr 2018 / 1 minute to read
This section provides details on how to create and customize Groupbutton control in an ASP.NET MVC application.
Dependencies
The following assemblies are needs to referenced to render a Groupbutton control in your application.
- Syncfusion.EJ.dll
- Syncfusion.EJ.MVC.dll
The script and CSS dependencies for rendering Groupbutton is given in the JS help document.
Create a simple GroupButton control
Create an ASP.NET MVC project and add necessary assemblies and script dependencies with the help of given Getting started document.
Add the below code in the view page to render a simple groupbutton control.
@Html.EJ().GroupButton("GroupButton").Items(item =>
{
item.Add().Text("Save");
item.Add().Text("Open");
item.Add().Text("Delete");
})
Run the project to get the following output
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page