Handling Clientside Event IN Codebehind
Database
1
Posts
1
Posters
0
Views
1
Watching
-
Suppose instead of using ASP.net dropdownlist control I want to use an HTML Select control with the runat attribute set to "server" and the autopostback set to "true". How do I programmatically respond to a user selecting a dropdown item from code behind? I tried adding onselectedindexchange to my markup, set onselectedindexchange to a function that I will later call from codebehind, creating a javascript function on the front-end, and calling the javascript from back-end using Script Manager. That of course did notwork. I have scoured the internet for an answer and I did not find anything that works, please help.