BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
<ejs-listbox id="listbox" dataSource="@ViewBag.data" created="created">
<e-listbox-selectionsettings showCheckbox="true"></e-listbox-selectionsettings>
</ejs-listbox>
<script>
function created() {
var listBox = ej.base.getComponent(document.getElementById("listbox"), "listbox");
listBox.selectAll(true);
}
</script> |
using Microsoft.AspNetCore.Mvc;
namespace WebApplication1.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
ViewBag.data = new string[] { "BadmHennessey Venominton", "Bugatti
Chiron", "Bugatti Veyron Super Sport", "SSC Ultimate Aero",
"Koenigsegg CCR","McLaren F1", "Aston Martin One- 77", "Jaguar XJ220"
};
return View();
}
}
}
|