lornen
02-18-2008, 07:45 PM
Hi to all,
I did most of my development on VS2008, debugging using Firefox.:thumbsup:
Summary: My AlwaysVisible panel works in Firefox, but not in IE7:eek:!
Details:
On my test.aspx page, I have a panel(pnl1) with an AlwaysVisibleControlExtender. In this panel, I have a textbox that has its text populated from the database during load.
When I get redirected to test.aspx, on IE:eek:, pnl1's alwaysvisible property does not work. However, on Firefox, it works like a charm. On IE:eek:, if I directly access the page(not redirected), the alwaysvisible works....
Whats wrong with the code(or IE:eek:)?
Thanks for taking the time to read.
.collapsePanel {
width: 500px;
height:10px;
background-color:Yellow;
text-align:right;
position:relative;
}
.collapseTextBox
{
border-style: none;
width: 99%;
font-size: 10pt;
font-family: Arial;
background-color:Transparent;
}
<asp:Panel ID="pnl1" runat="server" CssClass="collapsePanel" ScrollBars="Auto">
<asp:Label
ID="lbl1" runat="server" Text="Hide..">
</asp:Label>
<asp:Image ID="imgCollapse" runat="server" ImageUrl="~/Images/minimize.jpg" />
<br />
<asp:TextBox
ID="tbScene" runat="server" TextMode="MultiLine" AutoPostBack="false"
CssClass="collapseTextBox" ReadOnly="true">
</asp:TextBox>
</asp:Panel>
<cc2:CollapsiblePanelExtender
ID="pnl1_CollapsiblePanelExtender"
runat="server" TargetControlID="pnl1" CollapsedSize="18" CollapsedImage="~/Images/maximize.jpg"
ExpandedImage="~/Images/minimize.jpg" TextLabelID="lbl1" ExpandedText="Hide.." CollapsedText="Show.."
ImageControlID="imgCollapse" ExpandControlID="imgCollapse"
CollapseControlID="imgCollapse" SuppressPostBack="true">
</cc2:CollapsiblePanelExtender>
<cc2:AlwaysVisibleControlExtender
ID="pnl1_AlwaysVisibleControlExtender" runat="server"
Enabled="true" TargetControlID="pnl1" VerticalSide="Top" HorizontalSide="Right" >
</cc2:AlwaysVisibleControlExtender>
I did most of my development on VS2008, debugging using Firefox.:thumbsup:
Summary: My AlwaysVisible panel works in Firefox, but not in IE7:eek:!
Details:
On my test.aspx page, I have a panel(pnl1) with an AlwaysVisibleControlExtender. In this panel, I have a textbox that has its text populated from the database during load.
When I get redirected to test.aspx, on IE:eek:, pnl1's alwaysvisible property does not work. However, on Firefox, it works like a charm. On IE:eek:, if I directly access the page(not redirected), the alwaysvisible works....
Whats wrong with the code(or IE:eek:)?
Thanks for taking the time to read.
.collapsePanel {
width: 500px;
height:10px;
background-color:Yellow;
text-align:right;
position:relative;
}
.collapseTextBox
{
border-style: none;
width: 99%;
font-size: 10pt;
font-family: Arial;
background-color:Transparent;
}
<asp:Panel ID="pnl1" runat="server" CssClass="collapsePanel" ScrollBars="Auto">
<asp:Label
ID="lbl1" runat="server" Text="Hide..">
</asp:Label>
<asp:Image ID="imgCollapse" runat="server" ImageUrl="~/Images/minimize.jpg" />
<br />
<asp:TextBox
ID="tbScene" runat="server" TextMode="MultiLine" AutoPostBack="false"
CssClass="collapseTextBox" ReadOnly="true">
</asp:TextBox>
</asp:Panel>
<cc2:CollapsiblePanelExtender
ID="pnl1_CollapsiblePanelExtender"
runat="server" TargetControlID="pnl1" CollapsedSize="18" CollapsedImage="~/Images/maximize.jpg"
ExpandedImage="~/Images/minimize.jpg" TextLabelID="lbl1" ExpandedText="Hide.." CollapsedText="Show.."
ImageControlID="imgCollapse" ExpandControlID="imgCollapse"
CollapseControlID="imgCollapse" SuppressPostBack="true">
</cc2:CollapsiblePanelExtender>
<cc2:AlwaysVisibleControlExtender
ID="pnl1_AlwaysVisibleControlExtender" runat="server"
Enabled="true" TargetControlID="pnl1" VerticalSide="Top" HorizontalSide="Right" >
</cc2:AlwaysVisibleControlExtender>