Below is my code for a dynamic dropdownlist. It does generate the HTML properly. However, the event is not fired. And, when I change the event name to \"onchange\" it gives me a
To answer my own question...
I ended up making an ASCX out of it and now it works fine!