Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144908 | May 28,2019 11:11 AM UTC | May 30,2019 07:14 AM UTC | ASP.NET MVC - EJ 2 | 3 |
![]() |
Tags: ListBox |
@Html.EJS().Button("btn").Content("To SelectAll Items").Render()
document.getElementById("btn").addEventListener('click', function () {
var listbox2 = ej.base.getComponent(document.querySelector('#listbox2'), 'listbox');
listbox2.selectAll();
}) |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.