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

RadAjaxLoadingPanel not display when inside content page

6 Answers 132 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Mohammed
Top achievements
Rank 2
Mohammed asked on 18 Aug 2012, 04:27 AM
Hi team,
when i try to use RadAjaxLoadingPanel inside the content page it is not display while ajax happen
but when i use it in normal page without master page then it display normally, kindly find below the details:

in the master page i have 
<telerik:RadScriptManager ID="DefaultRadScriptManager" runat="server" EnableScriptCombine="true"
        EnableEmbeddedjQuery="false">
        <Scripts>
            <asp:ScriptReference Path="~/Scripts/jquery-1.7.2.min.js" />
            <asp:ScriptReference Path="~/Scripts/jquery.corner.js" />
            <asp:ScriptReference Path="~/Scripts/jquery.blockUI.js" />
        </Scripts>
    </telerik:RadScriptManager>

and in the content page i have 

<telerik:RadAjaxLoadingPanel ID="ralpAssign" runat="server" />
    <telerik:RadAjaxManager ID="ramAssign" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="rbtnOK">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rbtnOK" UpdatePanelRenderMode="Inline" />
                    <telerik:AjaxUpdatedControl ControlID="rgAssigningDetails" LoadingPanelID="ralpAssign" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

what happen is when i use any browser except IE i get the following : 
the first click the loading panel display but after the first postback when i try to click on the button 
the loading panel not display.


kindly let me know why that behavior happen.

6 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 20 Aug 2012, 02:54 PM
Hello,

It seems the one property that was missing in your examples is the "Skin" property of RadAjaxLoadingPanel. To be able to show the loading image, you need to set the Skin property to any of the valid Telerik skins (like Vista, Black, Hay, Outlook, etc.).  Give this suggestion a try and let me know about the result.

Regards,
Pavlina
the Telerik team
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 their blog feed now.
0
Mohammed
Top achievements
Rank 2
answered on 20 Aug 2012, 05:12 PM
Thanks Pavlina ,
I'm sorry I forgot to mention that I assign the default skin in the web.config
<appSettings>
<add key="Telerik.Skin" value="Office2010Silver"/>
however i tried to do the below
<telerik:RadAjaxLoadingPanel ID="ralpAssign" runat="server" SkinID="Office2010Silver" />
but i got the same result.
in the first postback i get the panel appear but after that no.
it is working well in IE only i don't know why.
and if i use a page without masterpage it is working well in all browsers
0
Mohammed
Top achievements
Rank 2
answered on 20 Aug 2012, 11:34 PM
Hi Pavlina,
I watched the fire bug console and got an error in the second asyn postback
  1. Uncaught Error: SYNTAX_ERR: DOM Exception 12 Ajax.js:295
    1. Telerik.Web.UI.RadAjaxControl.updateHeadStylesAjax.js:295
    2. Telerik.Web.UI.RadAjaxControl.set_stylesAjax.js:94
    3. e._loadScriptsInternalTelerik.Web.UI.WebResource.axd:9
    4. e._loadScriptsInternalTelerik.Web.UI.WebResource.axd:9
    5. e._loadScriptsInternalTelerik.Web.UI.WebResource.axd:9
    6. e._loadScriptsInternalTelerik.Web.UI.WebResource.axd:9
    7. e._onFormSubmitCompletedTelerik.Web.UI.WebResource.axd:9
    8. b.Net.XMLHttpExecutor.f._onReadyStateChange


kindly check the attached snapshot as well.
0
Mohammed
Top achievements
Rank 2
answered on 22 Aug 2012, 10:16 AM
Hi Team,
is there updates ?
0
Pavlina
Telerik team
answered on 22 Aug 2012, 11:32 AM
Hi Mohammed,

You can change your code as shown below
<telerik:RadAjaxLoadingPanel ID="ralpAssign" runat="server" Skin="Office2010Silver" />
 
and if this not helps, I will ask you to open a formal support ticket and send us a sample runnable project. Thus we will be able to replicate the described problem locally and advice you further.

Greetings,
Pavlina
the Telerik team
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 their blog feed now.
0
Mohammed
Top achievements
Rank 2
answered on 22 Aug 2012, 12:54 PM
Hi Pavlina,
I created a new screen and moved the other screen controls one by one and tried to test and it it is working now.
i really don't know what caused that problem in the first place.
thanks for helping,
regards,
Tags
Ajax
Asked by
Mohammed
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Mohammed
Top achievements
Rank 2
Share this question
or