Short version
All I need is that, in a ModalPopUp
, when the DoubleClick
event of a ListItem
fires, the click event of my OK button should be executed.
Detail
I have a ModalPopUpExtender
, which hosts a user control. The user control has an OK
and a Cancel
button. Along with that, it has a dynamic ListBox
added to it. So far, I've considered the following possible solutions:
- Use Ajax.Net. But, I cannot afford to have a WebMethod.
- Use a
ClientScriptCallBack
. This will need a lot of JavaScript, since I have made almost every control dynamic.
Is there any other way apart from using an UpdatePanel
?