I have been tinkering with the Select2 for a dropdownlist and a select. I've been trying numerous examples. And I can't get them to recognize the select2 aspect of jquery.
I saw I need to include the select2 css and js. Which I just took out those two files from the dist folder from the download. That didn't work. So I thought maybe there was someting in the sub folders it required, so I pointed to those files in the downloaded, complete folder.
Do I need all those downloaded folders or just the two files from those folders? I took them from the /dist/css and /dist/js folders.
I am attaching the "view" source" of my asp.net page. Can you see something I'm missing? Yes, I did test the paths and tried a complete path to make sure I was finding it, and it does exist in the path. But still it's not using the select2 styles or the js.
In this last example, I did the js using the class values:
However, I had previously tried loading it by the ID of the control with clientidmode="Static" and with it not static: