Hi,
I have done Radwindow confirm example by following this link :
Using A Custom RadWindow And Its ContentTemplate
It''s working fine. but rbConfirm_OK_Click event is calling at page refresh also.. I want call this event only once that is click on confirm button (OK).. Please help me to solve this..
I have done Radwindow confirm example by following this link :
Using A Custom RadWindow And Its ContentTemplate
<
telerik:RadWindowManager
runat
=
"server"
ID
=
"RadWindowManager1"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"rw_customConfirm"
Modal
=
"true"
Behaviors
=
"Close, Move"
VisibleStatusbar
=
"false"
Width
=
"300px"
Height
=
"200px"
runat
=
"server"
>
<
ContentTemplate
>
<
div
class
=
"rwDialogPopup radconfirm"
>
<
div
class
=
"rwDialogText"
>
<
asp:Literal
ID
=
"confirmMessage"
Text
=
""
runat
=
"server"
/>
</
div
>
<
div
>
<
telerik:RadButton
runat
=
"server"
ID
=
"rbConfirm_OK"
Text
=
"OK"
OnClick
=
"rbConfirm_OK_Click"
>
</
telerik:RadButton
>
<
telerik:RadButton
runat
=
"server"
ID
=
"rbConfirm_Cancel"
Text
=
"Cancel"
OnClientClicked
=
"closeCustomConfirm"
>
</
telerik:RadButton
>
</
div
>
</
div
>
</
ContentTemplate
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
<
asp:Button
ID
=
"Button4"
Text
=
"call the RadConfirm"
OnClick
=
"Button4_Click"
runat
=
"server"
/>
<
script
type
=
"text/javascript"
>
function closeCustomConfirm()
{
$find("<%=rw_customConfirm.ClientID %>").close();
}
</
script
>
It''s working fine. but rbConfirm_OK_Click event is calling at page refresh also.. I want call this event only once that is click on confirm button (OK).. Please help me to solve this..