This section briefly explains about how to create a simple ProgressButton in your ASP.NET Core application. You can refer ASP.NET Core Getting Started documentation page for introduction part of the system requirements and configure the common specifications.
To create simple ProgressButton add the ejs-progressbutton
tag with id attribute as element
in your Index.cshtml page.
<ejs-progressbutton id="element" content="Spin Left"></ejs-progressbutton>
public ActionResult Default()
{
return View();
}
Output be like the below.
After successful compilation of your application, simply press F5
to run the application.
The following example shows a basic ProgressButton component.
<ejs-progressbutton id="element" content="Spin Left"></ejs-progressbutton>
public ActionResult Default()
{
return View();
}
ProgressButton supports different styles, types and sizes like
Button
. In addition, it also supporttop
andbottom
position of the icon.
You can enable the background filler UI by setting the enableProgress
property to true
.
<ejs-progressbutton id="spinleft" content="Spin Left" enableProgress="true"></ejs-progressbutton>
public ActionResult Default()
{
return View();
}