Problem with Update Progress and Ajax Tab Control

Last post 11-19-2008 11:23 AM by SGWellens. 3 replies.

Sort Posts:

  • Problem with Update Progress and Ajax Tab Control

    11-19-2008, 8:01 AM
    • Member
      point Member
    • bhasi83
    • Member since 08-21-2007, 7:14 AM
    • Posts 12

    Hi All,

    Im using Ajax Tab Control with 3 tab panels and grid view in each tab panel.

    On click of the tab panel im loading the respective grids.

    I want to show the update progress bar while the grid is being loaded and im using the ajax update progress control to do so.

    Now the problem is that , the progess image is displaying at the left of the Tab Control.

    I want the image to be displayed in the middle of the Tab Control.

    What needs to be done for this??

    Can anyone help??

  • Re: Problem with Update Progress and Ajax Tab Control

    11-19-2008, 9:16 AM
    • All-Star
      88,934 point All-Star
    • SGWellens
    • Member since 01-02-2007, 4:27 PM
    • Twin Cities, MN
    • Posts 7,260
    • Moderator
      TrustedFriends-MVPs

    You can place the UpdateProgress control anywhere.  You can also use absolute positioning including the z-index to place it where you want.

     

        
        <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1"
            DisplayAfter="100">
            <ProgressTemplate>
                <asp:Label ID="LabelProgress" runat="server" Text="Update in progress..." BackColor="Yellow"
                    BorderStyle="Solid" BorderWidth="1px" Style="top: 35px; left: 457px; position: absolute; 
                    z-index:100; height: 23px; width: 175px" ></asp:Label>
            </ProgressTemplate>
        </asp:UpdateProgress>
        </form>
    </body>
    
         
       


     
    Steve Wellens

    My blog
  • Re: Problem with Update Progress and Ajax Tab Control

    11-19-2008, 11:05 AM
    • Member
      point Member
    • bhasi83
    • Member since 08-21-2007, 7:14 AM
    • Posts 12

    Im using a gif image not a label :(

    The code that u have given is not working according to my requirement..

     

  • Re: Problem with Update Progress and Ajax Tab Control

    11-19-2008, 11:23 AM
    Answer
    • All-Star
      88,934 point All-Star
    • SGWellens
    • Member since 01-02-2007, 4:27 PM
    • Twin Cities, MN
    • Posts 7,260
    • Moderator
      TrustedFriends-MVPs

    The same principle applies.

     

            <ProgressTemplate>
                <asp:Label ID="LabelProgress" runat="server" Text="Update in progress..." BackColor="Yellow"
                    BorderStyle="Solid" BorderWidth="1px" Style="top: 35px; left: 457px; position: absolute; 
                    z-index:100; height: 23px; width: 175px" ></asp:Label>
                    
                <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/2horses.gif" 
                    style="top: 161px; left: 534px; position: absolute; height: 54px; width: 79px" />
            </ProgressTemplate>
    
     

     

    Steve Wellens

    My blog
Page 1 of 1 (4 items)