Hello all,
I have:
in .aspx
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
</telerik:RadWindowManager>
<script type="text/javascript">
function confirmCallbackFn(arg) {
if (arg) { //the user clicked OK
__doPostBack("<%=HiddenButton.UniqueID %>", "");
}
}
</script>
<div id="divMain" style="position: relative; top: 0px;">
<asp:Button ID="HiddenButton" Text="" OnClick="HiddenButton_Click"
runat="server" Visible="False" />
....
in the code (inside a delete event of a radgrid)
RadWindowManager1.RadConfirm("Delete this Tender?", "confirmCallBackFn", 330, 180, Nothing, "Confirm")
...and
Protected Sub HiddenButton_Click(sender As Object, e As System.EventArgs) Handles HiddenButton.Click
...the actual code which deletes the Tender from the database
End Sub
While the RadConfirm does get executed, the radconfirm window is not appearing on the page.
Could you please point out my mistake?
Thanks
I have:
in .aspx
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
</telerik:RadWindowManager>
<script type="text/javascript">
function confirmCallbackFn(arg) {
if (arg) { //the user clicked OK
__doPostBack("<%=HiddenButton.UniqueID %>", "");
}
}
</script>
<div id="divMain" style="position: relative; top: 0px;">
<asp:Button ID="HiddenButton" Text="" OnClick="HiddenButton_Click"
runat="server" Visible="False" />
....
in the code (inside a delete event of a radgrid)
RadWindowManager1.RadConfirm("Delete this Tender?", "confirmCallBackFn", 330, 180, Nothing, "Confirm")
...and
Protected Sub HiddenButton_Click(sender As Object, e As System.EventArgs) Handles HiddenButton.Click
...the actual code which deletes the Tender from the database
End Sub
While the RadConfirm does get executed, the radconfirm window is not appearing on the page.
Could you please point out my mistake?
Thanks