Bonjour,
Mon modal popup ne s'ouvre pas quand je clique sur un boutton edit :

Code : 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Page sans titre</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
 
        <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0"><asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1"><HeaderTemplate>
Catégories
</HeaderTemplate>
<ContentTemplate>
<asp:GridView id="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" DataKeyNames="idCategorie" AllowPaging="True" AllowSorting="True" OnSelectedIndexChanged="GridView1_SelectedIndexChanged"><Columns>
<asp:TemplateField ShowHeader="False">
						<ItemTemplate>
							<asp:ImageButton ID="btnEdit" runat="server" CausesValidation="false" ImageUrl="~/images/btn_edit.gif"/>
						</ItemTemplate>
					</asp:TemplateField>
<asp:BoundField DataField="idCategorie" HeaderText="idCategorie" ReadOnly="True" SortExpression="idCategorie"></asp:BoundField>
<asp:BoundField DataField="Categorie" HeaderText="Categorie" SortExpression="Categorie"></asp:BoundField>
</Columns>
</asp:GridView>
<asp:Button ID="btnHiddenCategorie" runat="Server" Style="display: none" />
			<asp:ModalPopupExtender ID="mpeCatedorie" runat="server" TargetControlID="btnHiddenCategorie" PopupControlID="pnlCategorie" CancelControlID="btnCancelCategorie" BackgroundCssClass="modalBackground" PopupDragHandleControlID="CategorieCaption">
			</asp:ModalPopupExtender>
 
<asp:Panel ID="pnlCategorie" runat="server" CssClass="modalBox" Style="display: none;" Width="500px">
				<asp:Panel ID="CategorieCaption" runat="server" CssClass="caption" Style="margin-bottom: 10px; cursor: hand;">Edition catégorie</asp:Panel>
				        <asp:HiddenField ID="hidCategorieEditIndex" runat="server" Value="-1" />
				        <div class="divCol">Catégorie : </div>
				        <div class="divColLast">
					        <asp:TextBox ID="txtCategorie" runat="server" AutoCompleteType="FirstName" MaxLength="64" Width="250" ></asp:TextBox>
				        </div>
				        <div class="clearer"> </div>
 
				        <div style="white-space: nowrap; text-align: center;">
					        <asp:Button ID="btnSaveCategorie" runat="server" Text="Save" OnClick="btnSaveCategorie_Click" CausesValidation="true"/>
					        <asp:Button ID="btnCancelCategorie" runat="server" CausesValidation="false" Text="Cancel"/>
				        </div>
			</asp:Panel>
    &nbsp;
    <asp:SqlDataSource id="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ASSURANCEConnectionString %>" SelectCommand="SELECT [idCategorie], [Categorie] FROM [Categorie]"></asp:SqlDataSource> 
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel runat="server" HeaderText="TabPanel2" ID="TabPanel2"><HeaderTemplate>
                    Branches
 
</HeaderTemplate>
</asp:TabPanel>
<asp:TabPanel runat="server" HeaderText="TabPanel3" ID="TabPanel3"><HeaderTemplate>
                    Sous branches
 
</HeaderTemplate>
</asp:TabPanel>
</asp:TabContainer>
    </form>
</body>
</html>
Que dois je faire ?

Merci.