RadAjaxLoadingPanel not display when inside content page

7 posts, 0 answers
  1. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 17 Aug 2012 Link to this post

    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.

  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 20 Aug 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 20 Aug 2012 Link to this post

    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
  5. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 20 Aug 2012 Link to this post

    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.
  6. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 22 Aug 2012 Link to this post

    Hi Team,
    is there updates ?
  7. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 22 Aug 2012 Link to this post

    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.
  8. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 22 Aug 2012 Link to this post

    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,
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017