I'm combining Select2 with asp.net code behind to get the values. And now I want to get all the selected values using code behind too. But I can't get it to work. Here is my HTML code
<div class="form-group">
<label>Multiple</label>
<select class="form-control select2" id="ddLokasi" multiple="true"
runat="server" data-placeholder="Pilih Lokasi" style="width:100%;">
</select>
</div>
As you can see, I manage to get the Select2 working on my web. Here's the screenshot : https://i.sstatic.net/vSccJ.jpg (sorry I can't embbed the image)
Now I want to get all the values that I already selected into an array. How to do this in code behind using asp.net VB ?
Thanks