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

RADAjaxLoadingPanel + Addthis won't show on Chrome and Safari

2 Answers 105 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
John Paul
Top achievements
Rank 1
John Paul asked on 28 Feb 2014, 02:32 AM
Hi,

Can you help us with our problem on safari and chrome? The ajax loading panel will only show once and after that it will not show up anymore. I tried to debug this found out that after a successful ajax on first try, it displays a javascript error on console.

TypeError: 'null' is not an object (evaluating 'f.cssRules.length').

I tried to debug and found out that the f variable was the addthis css ("http://ct1.addthis.com/static/r07/counter014.css")

Thanks,

JP

2 Answers, 1 is accepted

Sort by
0
John Paul
Top achievements
Rank 1
answered on 03 Mar 2014, 02:24 AM
Hi Guys! Anyone?
0
Shinu
Top achievements
Rank 2
answered on 03 Mar 2014, 05:30 AM
Hi John Paul,

Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample code snippet which works fine at my end. Please provide a sample code snippet where I can reproduce the issue for further help. 

ASPX:
<link href="http://ct1.addthis.com/static/r07/counter014.css" type="text/css" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadButton1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
</telerik:RadAjaxLoadingPanel>
<asp:Panel ID="Panel1" runat="server" Style="border: 1px solid red; height: 100px;
    width: 100px;">
</asp:Panel>
<telerik:RadButton ID="RadButton1" runat="server" Text="Update" OnClick="RadButton1_Click">
</telerik:RadButton>

C#:
protected void RadButton1_Click(object sender, EventArgs e)
{
    Thread.Sleep(1000);
}

Thanks,
Shinu.
Tags
Ajax
Asked by
John Paul
Top achievements
Rank 1
Answers by
John Paul
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or