Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Weird problem with AlwaysVisibleControlExtender

    Hi to all,

    I did most of my development on VS2008, debugging using Firefox.

    Summary: My AlwaysVisible panel works in Firefox, but not in IE7!

    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, pnl1's alwaysvisible property does not work. However, on Firefox, it works like a charm. On IE, if I directly access the page(not redirected), the alwaysvisible works....
    Whats wrong with the code(or IE)?

    Thanks for taking the time to read.

    Code:
    .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>

  • #2
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Same problem. Got an answer yet?

    I am having the same problem. Have you found a solution yet?

  • #3
    New to the CF scene
    Join Date
    Feb 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello,
    here is my first post on this forum

    I have found that is I set 'UseAnimation' to true it then works in IE7.

    Code:
    <ajaxToolkit:AlwaysVisibleControlExtender ID="KeepVisExtender" 
        runat="server"  
        TargetControlID="Panel_KeepVis"
        ScrollEffectDuration=".1"
        HorizontalOffset="0"   VerticalOffset="0"  UseAnimation="true" >
    </ajaxToolkit:AlwaysVisibleControlExtender>

    However I don't want the animation as it jumps around horribly when scrolling down the page.

    I am on IE 7.0.6001.1800C0

  • #4
    New to the CF scene
    Join Date
    Feb 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Bingo!!!!

    Found the solution

    Include the following in top of your aspx page:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    I found the answer here :
    http://forums.asp.net/p/1054384/1496634.aspx#1496634

    I lost stack of time trying on this one..
    Brigzy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •