locked
Animated GIF working on a test server, but not on production server RRS feed

  • Question

  • User642653667 posted

    Hi All,

    I have a website where I have a asp:ScriptManager and asp:UptadeProgress:

    <asp:UpdateProgress ID="UpdateProgress1" runat="server">

    <ProgressTemplate>

        <div class="modal">

        <div class="center">

        <img alt="" src="../App_Themes/Default/Images/loader.gif" />

        </div>

       </div>   

       </ProgressTemplate>

       </asp:UpdateProgress>

    During a lengthy operation, the GIF shows correctly in my development environment and a test server, but not on the production server.  The UpdateProgress is blacking out the entire screen and displaying the spinner loader.gif in the middle. On the production server, the blackout does occur, but there is no spinner. Does anyone know what settings on the production server can affect the correct display of the animated GIF?

     

    Thursday, February 25, 2016 5:05 PM

Answers

  • User2103319870 posted

    <img alt="" src="../App_Themes/Default/Images/loader.gif" />

    Most likely This could be a path issue. Try with the below code

    <img alt="" src="~/App_Themes/Default/Images/loader.gif" runat="server" />

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 25, 2016 5:20 PM

All replies

  • User2103319870 posted

    <img alt="" src="../App_Themes/Default/Images/loader.gif" />

    Most likely This could be a path issue. Try with the below code

    <img alt="" src="~/App_Themes/Default/Images/loader.gif" runat="server" />

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, February 25, 2016 5:20 PM
  • User642653667 posted

    Thanks, that solved the problem.

    Thursday, February 25, 2016 10:27 PM