PDA

View Full Version : [FIXED] [V0.6] ComboBox HideTrigger



Timothy
Sep 09, 2008, 8:58 PM
Hello,

The following example demonstrates an issue with the ComboBox and the HideTrigger property when placed in a TabPanel. The entire control disappears.

This only appears to happen on IE6 and works like expected in FF3.0.



<%@ 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">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="True" />
<ext:ScriptManager ID="ScriptManager2" runat="server" Theme="Gray" />
<ext:TabPanel ID="TabPanel" runat="server" ActiveTabIndex="0" AutoPostBack="True" AutoHeight="True" DeferredRender="True">
<Tabs>
<ext:Tab ID="Tab1" runat="server" Title="Tab1">
<Content>
<ext:ComboBox ID="drpBox" runat="server" HideTrigger="True">
<Items>
<ext:ListItem Text="1" />
<ext:ListItem Text="2" />
</Items>
</ext:ComboBox>
</Content>
</ext:Tab>
</Tabs>
</ext:TabPanel>
</form>
</body>
</html>


Cheers,
Timothy

Vladimir
Sep 10, 2008, 7:30 AM
Hi Timothy,

The fix in the SVN

DasPhansom
Jan 20, 2009, 12:21 PM
Is this Issue alredy fixed?

My Combobox disappears if a async postback is fired!

Thanks for any reply.

Timothy
Jan 20, 2009, 12:39 PM
What version are you using? This currently works as expected in 0.7 trunk rev. 1025.

Cheers,
Timothy

DasPhansom
Jan 20, 2009, 12:51 PM
I Have 0.7......

Eventually its because i placed it in an update panel. Could this be?

Timothy
Jan 20, 2009, 1:13 PM
Can you post a simplified example? I will give it a whirl, I've seen it all with the UpdatePanel :)

Cheers,
Timothy

DasPhansom
Jan 22, 2009, 12:57 PM
I've fixed my problem. The Combobox was in an UpdatePanel and when an other UpdatePanel on my site makes a callback the Combobox dissapeared.