Bonjour, j'ai un popup extender dans ma page,j'ai un probleme quand je le deplace il ne se fixe pas dans l'endroit ou je l'ai placé il change de place automatiqument meme si le drag est a true.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" CancelControlID="cancel"
    DropShadow="true" TargetControlID="Button1" PopupControlID="Panel1" PopupDragHandleControlID="Panel1"
    Drag="true" BackgroundCssClass="ModalPopupBG">
</asp:ModalPopupExtender>
<asp:Panel ID="Panel1" Style="display: none" runat="server">
    <div class="HellowWorldPopup">
....
Code css : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.ModalPopupBG
{
    background-color: transparent;
}
 
.HellowWorldPopup
{
    width:400px;
    height: 400px;
    margin:0 auto;
    padding:0;
    position: absolute;
    z-index: 0;
    -webkit-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
    -o-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
    -khtml-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.5);
    -webkit-border-radius:5px;border-radius:5px;
    -moz-border-radius:5px;
    -o-border-radius:5px;
    -khtml-border-radius:5px; 
    background: white;  
    cursor:move; 
}
 
PopupHeader{
font-weight:bolder;
margin:0;
padding:20px 0;
display: block;
line-height:20px;
text-align:center;
color : Black;
}

Une idée ?