ModalPopup Dragging goes background totally gray

Last post 08-29-2008 2:05 PM by atanu.podder. 4 replies.

Sort Posts:

  • ModalPopup Dragging goes background totally gray

    08-27-2008, 8:27 AM
    • Member
      2 point Member
    • Pankajdsm
    • Member since 07-03-2008, 8:05 AM
    • Posts 3

    While dragging the ModalPopup the background goes totally gray, the background controls are not visible and if we cancell the popup again the background doesn't come up for coming background controls visible need to close the page and reopen it and again if we anybody drag the popup then again background color goes totally gray and won't come again untill the page reopens.

     Please provide some solution on it.

    Thanks
     

  • Re: ModalPopup Dragging goes background totally gray

    08-27-2008, 9:21 AM
    • Member
      28 point Member
    • kuttimania
    • Member since 08-14-2008, 9:51 AM
    • Posts 10

     this is help for you

     <cc1:ModalPopupExtender ID="mpeAddTask" runat="server" PopupControlID="pnlAddTask"
                        TargetControlID="btnAddTask" CancelControlID="btnCancel" Drag="True" BackgroundCssClass="modalBackground">
                    </cc1:ModalPopupExtender>
                    <asp:Panel ID="pnlAddTask" runat="server" CssClass="modalBox" Style="display: none;">
                        <table>
                            <tr>
                                <td align="right">
                                    Task Tilte
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="txttaskName" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center">
                                    <asp:Button ID="btnAdd" runat="server" Text="Add" CssClass="but" />
                                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="but" />
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>

     

    here the Css :

     .modalBackground {
        background-color: Gray;
        filter: alpha(opacity=50);
        opacity: 0.5;
    }
    .modalBox {
        background-color : #f5f5f5;
        border-width: 3px;
        border-style: solid;
        border-color: Blue;
        padding: 3px;
    }

    Thanks

    kutti A

     

  • Re: ModalPopup Dragging goes background totally gray

    08-27-2008, 12:09 PM
    • Participant
      1,274 point Participant
    • atanu.podder
    • Member since 08-20-2008, 7:40 AM
    • Bangalore
    • Posts 191

     I am nt clear on what you mentioned by 'dragging' the modal popup. I have tested your code and i cnt reproduce the issue u hav mentioned.

    Thanks,
    Atanu, Symphony Services

    P.S. Dont forget to mark this as answer, if you have got resolution to your problem from this post.
  • Re: ModalPopup Dragging goes background totally gray

    08-28-2008, 2:54 AM
    • Member
      2 point Member
    • Pankajdsm
    • Member since 07-03-2008, 8:05 AM
    • Posts 3

    I have already use the same code but the problem remains.

    The popup panel having very large data in grid view controls and when we drag the popup it locks the screen for a sec. or two and background goes totally gray which we specified in the CSS.

     The situation like when we don't specify the filter:aplh(opacity=70) in background situation then how the screen comes exactly the same situation arises when I drag the Modal popup.

    Please provide the solution for this. 

    Thanks for your replay.
     

  • Re: ModalPopup Dragging goes background totally gray

    08-29-2008, 2:05 PM
    • Participant
      1,274 point Participant
    • atanu.podder
    • Member since 08-20-2008, 7:40 AM
    • Bangalore
    • Posts 191

    How do you drag the popup, i mean which portion of the popup you use for dragging, is it the panel text? Can you put a screen shot?  

    Thanks,
    Atanu, Symphony Services

    P.S. Dont forget to mark this as answer, if you have got resolution to your problem from this post.
Page 1 of 1 (5 items)