Hello~ everyone
I want to make that titlePanel click then contentsPanel is shown in DataList.
I tried this, but below code is not working in IE9. And this is working in Chrome.
How can I make this code working in IE9?
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CollapsiblePanelExtenderEx2.aspx.cs" Inherits="WebApplication1.ajax.CollapsiblePanelExtenderEx2" %>
<%@ 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></title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div>
<asp:DataList ID="DataList1" runat="server">
<ItemTemplate>
<asp:Panel ID="pnlHeader" runat="server"
style="cursor:pointer;">
<table style="width: 450px;">
<tr>
<td class="style1">
<asp:Label ID="lbl_Title" runat="server" Text='<%#Eval("[GE_Title]").ToString() %>'></asp:Label>
<asp:DataList ID="dl_AssessLevel" runat="server" RepeatDirection="Horizontal">
<ItemTemplate>
<asp:Image ID="img_Assess" runat="server" ImageUrl="~/img/ic_star_02.gif" />
</ItemTemplate>
</asp:DataList>
</td>
<td>
<asp:Label ID="lbl_ID" runat="server" Text='<%#Eval("[GE_Name]").ToString() %>'></asp:Label>
</td>
<td>
<asp:ImageButton ID="ibtn_Del" runat="server"
CommandArgument='<%#Eval("[GE_Idx]").ToString() %>'
CommandName="del" ImageUrl="~/img/but_list_del_01.gif" />
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="pnlContents" runat="server" style="overflow:hidden;">
<table style="width: 450px;">
<tr>
<td class="style1">
<asp:Label ID="lbl_Contents" runat="server"
Text='<%#Eval("[GE_Description]").ToString() %>'></asp:Label>
</td>
</tr>
</table>
</asp:Panel>
<asp:CollapsiblePanelExtender ID="cpe" Enabled="True"
runat="server" TargetControlID="pnlContents"
ExpandControlID="pnlHeader" CollapseControlID="pnlHeader"
Collapsed="True"
SuppressPostBack="True"
AutoExpand="false" AutoCollapse="false"
>
</asp:CollapsiblePanelExtender>
</ItemTemplate>
</asp:DataList>
</div>
</form>
</body>
</html>