vb.net ListBox Click
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
I would like to add a click event to a webform ListBox. I have read how to do it in VB.net, but I can't make it work for a webform Listbox. (reference article on this site www.codeproject.com/vb/net/sublcassing_Lis;)tBox.asp) Lyle B. Hunt
I didn't add a click event but I did attach a bit of Client-side Javascript to a combo box. You should probably be able to apply the same idea to a list box but I son't know how useful it will be in your situation.
cboList.Attributes.Add("onchange", "JavaScriptFunction();")
Beware the chickens, for in their silence, they plot... Life is too short to be taken seriously. -- Oscar Wilde