Hello,
We have implemented a radconfirm as below,
This works fine with IE, but it gives problem in Firefox. While debugging script i found that after following code block it get stopped and not going ahead in firefox.
We have implemented a radconfirm as below,
<asp:UpdatePanel runat="server" ID="pnlObjectX" UpdateMode="Conditional"> <ContentTemplate> <telerik:RadListView ID="ObjectXList" runat="server" ItemPlaceholderID="ObjectXListContainer" OnSelectedIndexChanged="ObjectXList_SelectedIndexChanged"> <LayoutTemplate> <fieldset style="width: 810px; border: none;"> <asp:PlaceHolder ID="ObjectXListContainer" runat="server"></asp:PlaceHolder> </fieldset> </LayoutTemplate> <ItemTemplate> <fieldset style="float: left; width: 250px; padding-left: 20px; border: none;"> <div style="padding: 5px; width: 200px; align-content: center; cursor: pointer;"> <div style="display: none"> <asp:Label runat="server" ID="lblObjectXId" Text='<%# Bind("ObjectXId") %>'></asp:Label> </div> <div class="FirmName"> <asp:LinkButton ID="RemoveObjectX" CssClass="selectedButtons noValidation" runat="server" CommandName="Select" OnClientClick="DisplayConfirmationForDeleteObjectX(this); return false;"> <img src="../App_Themes/Associa/images/bullet_minus.png" style="vertical-align: middle;" /> </asp:LinkButton> <asp:Label runat="server" ID="lblFirstName" Text='<%# Bind("FirstName")%>' Style="margin-left: 5px; vertical-align: middle;"></asp:Label><asp:Label runat="server" ID="lblLastName" Text='<%# Bind("LastName")%>' Style="margin-left: 5px; vertical-align: middle;"></asp:Label> </div> <div class="FirmAddress"> <asp:Label runat="server" ID="lblEmailAddress" Text='<%# Bind("EmailAddress")%>' Style="margin-left: 40px;"></asp:Label> </div> </div> </fieldset> </ItemTemplate> <EmptyDataTemplate> <div style="color: #999999; font-size: 14px; font-weight: bold; padding: 0 40%">No associated ObjectXs</div> </EmptyDataTemplate> </telerik:RadListView></ContentTemplate> </asp:UpdatePanel>functionDisplayConfirmationForDeleteObjectX(button) { window.$ = $telerik.$; function CallBack(arg) { if (arg) { eval(button.href); } else { return false; } } radconfirm("Do you want to delete this Xyz?", CallBack, 450, 180, null, "Delete Xyz");}This works fine with IE, but it gives problem in Firefox. While debugging script i found that after following code block it get stopped and not going ahead in firefox.
function onclick(event) {$find('confirm1371571295920').close(true);}