With this code, i try to Close a Window (the way i'm doing it works) but i have also an Onclick event which is ignored!
ASPX page:
My application never enters Button1_click event, can anyone help me to find out why ?
thanks in advance
EDIT: HTML GENERATED FOR THE BUTTON
<
script
type
=
"text/javascript"
>
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow;
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
return oWindow;
}
function CloseDialog() {
GetRadWindow().close();
}
</
script
>
ASPX page:
<
asp:Button
ID
=
"Button1"
runat
=
"server"
Text
=
"Soumettre ce ticket"
onclick
=
"Button1_Click"
OnClientClick
=
"CloseDialog()"
/>
My application never enters Button1_click event, can anyone help me to find out why ?
thanks in advance
EDIT: HTML GENERATED FOR THE BUTTON
<
input
type
=
"submit"
id
=
"Button1"
onclick
=
"CloseDialog();"
value
=
"Soumettre ce ticket"
name
=
"Button1"
/>