Ajax Update Panel

4 posts, 0 answers
  1. DK
    DK avatar
    72 posts
    Member since:
    Jun 2009

    Posted 26 Jun 2009 Link to this post

    hi
    i am using telerik ajax update panel.
    on button click the progress bar or the  loading image is of the size  of the table cell in which the buttn is .
    for example i have following code.

    <table>
    <tr>
    <td>
    <asp:button id="btnsearch" runat="server" />
    </td>
    <td>
    <asp:button id="btnNewUser" runat="server" />
    </td>
    </tr>
    </table>
    this table contains so many fileds ,i m not going to write all those.
    now the problem appears when i use the following code

    <

     

    telerik:RadAjaxLoadingPanel InitialDelayTime="0" ID="panLoading" runat="server" EnableSkinTransparency="true" BackgroundPosition="Center"

     

     

    Transparency="20" BackColor="#E0E0E0">

     

     

    <table style="height:100%; width:100%; z-index:1024">

     

     

    <tr >

     

     

    <td>

     

     

    <asp:Image ID="Image1" runat="server" AlternateText="Loading..." BorderWidth="0px"

     

     

    ImageUrl="Images/WebResource.gif"></asp:Image>

     

     

    </td>

     

     

    </tr>

     

     

    </table>

     

     

    </telerik:RadAjaxLoadingPanel>


    with the button

     

    <

     

    td colspan="2" align="left">

     

     

     

     

     

    <br />

     

     

     

     

     

    <telerik:RadAjaxPanel ID="panNewUser" runat="server" LoadingPanelID="panLoadNewUserPage">

     

     

     

     

     

    <asp:Button ID="btnNewUser" runat="server" Text="New User" />

     

     

     

     

     

    </telerik:RadAjaxPanel>

     

     

     

     

     

    </td>

     



    then the image appears only for that cell in which the button is.
    please solve my problem.

    Thanks in advance.

  2. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 26 Jun 2009 Link to this post

    Hello Dharmendra,

    You can set IsSticky="true" to avoid this behavior.

    For more information, visit the following link:
    AJAX Loading Panel

    Regards,
    Daniel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DK
    DK avatar
    72 posts
    Member since:
    Jun 2009

    Posted 26 Jun 2009 Link to this post

    thanks for help.
    every thing now working fine.
    but the problem is here the gif image is stationary.
    it is not  displaying as it is.
    when i open in the  image viewer it is running.
    but when it is shown in the update progress bar it is not working.

    image is from your site

    http://www.telerik.com/help/aspnet-ajax/images/Vista.gif

    please help me as soon as possible.
    Thnaks in advance
  4. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 26 Jun 2009 Link to this post

    Hello Dharmendra,

    I created a sample website that illustrates how to center the loading image on the screen. Test it on your end and let me know whether this helps.

    Regards,
    Daniel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top