Page view counter

How to make Div Model

Last post 10-07-2008 5:22 AM by Abdul Javed Khan. 4 replies.

Sort Posts:

  • How to make Div Model

    10-06-2008, 11:25 PM

    Hi

    I am asp.net developer.

    I am using ajax update progress in my application. it is working fine.

    I want to show a model div under update progress so that no one can perform anything until "loading.." message is visible.

    I have done it...but the only thing is that div under update progress is not model..

     

    My code is like below..

     

     <asp:UpdatePanel ID="MyUpdatePanel" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:Button ID="btnProcess" runat="server" Text="Process" />
                    </ContentTemplate>
                </asp:UpdatePanel>
                <asp:UpdateProgress ID="updateProgress" runat="server">
                    <ProgressTemplate>
                        <div id="progressBackgroundFilter" class="Process">
                        </div>
                        <div id="processMessage" class="Loading">
                            <label style="font-weight: bold; color: Red;">
                                Loading...</label>
                            <img alt="Loading" src="image/loading1.gif" />
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>


    And the css im using are:-

    .Process
    {
    position:absolute;
    top:5%;
    left:5%;
    width:90%;
    height:90%;
    z-index:1001;
    background-color:#dddddd;
    }

    .Loading
    {
    position:absolute;
    top:30%;
    left:43%;
    padding:10px;
    width:14%;
    z-index:1001;
    background-color:#ffffff;
    }

     

    Please help me in this issue..

     

    Thanks & Regards,

    Abdul Javed Khan

  • Re: How to make Div Model

    10-07-2008, 2:07 AM
    • Loading...
    • yrajasekhar
    • Joined on 07-23-2008, 10:16 AM
    • Pune
    • Posts 246
    • Points 1,800
    Please mark post as answer if it helped you
    My Blog
  • Re: How to make Div Model

    10-07-2008, 4:32 AM

    Hi

    Thank you very much for reply.

    But i am using Microsoft ajax & i don't see control like..UpdatePanelAnimationExtender &ModalPopupExtender.

    I have to use only Microsoft ajax.

     

    Thanks

    Abdul Javed Khan

  • Re: How to make Div Model

    10-07-2008, 4:50 AM
    • Loading...
    • yrajasekhar
    • Joined on 07-23-2008, 10:16 AM
    • Pune
    • Posts 246
    • Points 1,800

    Hi,

    These controls are part of ASP.NET AJAX Control Toolkit. You can download this toolkit from http://www.asp.net/ajax/downloads/ 

    Please mark post as answer if it helped you
    My Blog
  • Re: How to make Div Model

    10-07-2008, 5:22 AM

    Hi

    Actually i am developing application on ArcGIS Server.ArcGIS Server comes with default ajax control & the above listed controls are not present.

     

    Thanks & Regards

    Abdul Javed Khan

Page 1 of 1 (5 items)