Sep 30, 2008, 10:52 AM
[OPEN] ComboBox Rendering issue
Hello,
You will notice with the example below that the ComboBox in the 2nd panel of the accordion will not render properly; if you run the 2nd example you will notice it renders perfectly fine:
Example1.aspx: (Broken)
The examples just switch the rendering order of the panels. Would be awesome if this can be fixed, it's showing a lot in our current solution :)
Cheers,
Timothy
You will notice with the example below that the ComboBox in the 2nd panel of the accordion will not render properly; if you run the 2nd example you will notice it renders perfectly fine:
Example1.aspx: (Broken)
<%@ Page Language="C#" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Example</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager runat="server" EnablePartialRendering="True" />
<ext:ScriptManager runat="server" StateProvider="PostBack" />
<ext:Panel runat="server" Border="False">
<Content>
<ext:Accordion ID="Accordion" runat="server" Animate="True" Sequence="True" TitleCollapse="False">
<ext:Panel ID="Panel1" runat="server" AutoScroll="True" AutoHeight="True" Title="Content 1">
<Content>
Content 1
</Content>
</ext:Panel>
<ext:Panel ID="Panel2" runat="server" AutoScroll="True" AutoHeight="True" Title="Content 2">
<Content>
<ext:TextField ID="TextField1" runat="server" Width="255" />
<ext:ComboBox ID="ComboBox1"
runat="server"
Width="255">
<Items>
<ext:ListItem Text="Item 1" Value="Item 1" />
</Items>
</ext:ComboBox>
</Content>
</ext:Panel>
</ext:Accordion>
</Content>
</ext:Panel>
</form>
</body>
</html>
Example2.aspx: (Works)<%@ Page Language="C#" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Example</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager runat="server" EnablePartialRendering="True" />
<ext:ScriptManager runat="server" StateProvider="PostBack" />
<ext:Panel runat="server" Border="False">
<Content>
<ext:Accordion ID="Accordion" runat="server" Animate="True" Sequence="True" TitleCollapse="False">
<ext:Panel ID="Panel2" runat="server" AutoScroll="True" AutoHeight="True" Title="Content 2">
<Content>
<ext:TextField ID="TextField1" runat="server" Width="255" />
<ext:ComboBox ID="ComboBox1"
runat="server"
Width="255">
<Items>
<ext:ListItem Text="Item 1" Value="Item 1" />
</Items>
</ext:ComboBox>
</Content>
</ext:Panel>
<ext:Panel ID="Panel1" runat="server" AutoScroll="True" AutoHeight="True" Title="Content 1">
<Content>
Content 1
</Content>
</ext:Panel>
</ext:Accordion>
</Content>
</ext:Panel>
</form>
</body>
</html>
The examples were tested in IE6 and FF3.0.The examples just switch the rendering order of the panels. Would be awesome if this can be fixed, it's showing a lot in our current solution :)
Cheers,
Timothy