Greetings!
I have a Web Form that contains both ASP.NET server controls and plain HTML. The server controls consist of several Labels, Textboxes and a Button control. The plain HTML is generated from an XML/XSL translation and is essentially a DIV that acts as a popup window that contains a textbox (input type="text") and a button; it's visibility can be toggled on and off via JavaScript.
When the user presses the ENTER key, the Button server control's event is fired and its code behind executes. This is fine, unless the HTML DIV is visible. In that case, I'd like to execute the plain ol' HTML button's onClick event (which calls a Javascript function that calls a web service). However, the Button server control always seems to be the one that fires when the ENTER key is pressed. Since the HTML produced by the XSLT doesn't create any server controls, I can't simply place it in a Panel control and se ...
Go to the complete details ...