This is a migrated thread and some comments may be shown as answers.

RadConfirm not working with FireFox

1 Answer 70 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ashish
Top achievements
Rank 1
Ashish asked on 18 Jun 2013, 04:03 PM
Hello,

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);
}

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 19 Jun 2013, 01:48 PM
Hi Ashish,

Can you confirm the RadWindowManager has no ClientIDMode specified explicitly? Are there any other errors on the page? I am asking this because I have tested the described scenario and it seems to work fine with me. You can find attached my test page and a short video from my test to see if I am missing something. I can also suggest you examine my suggestions on troubleshooting a similar issue here and see if they help. If neither they, nor comparing my sample with your case helps, I would advise that you send me the page modified so it shows the problem, which will allow me to debug it. You can also compare your page with this demo that shows a similar scenario.


Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Window
Asked by
Ashish
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or