Events and ASP.NET Web Controls
Web Development
1
Posts
1
Posters
0
Views
1
Watching
-
I have an asp:listbox control. I would like to be able to delete an item from that list box by pressing the delete key. I understand that this is not built in because the asp:listbox is a server side control and the server is unaware that the delete key has been pressed while the listbox had focus. I have been told that javascript is the way to go to build this functionality myself. My question is, has anyone done something like this before. I have never used javascript and I don't want to reinvent the wheel if I dont have to. Otherwise does anyone have some code samples about writing events for controls using javascript? Let me know. Thanks! John