[FIXED] [V0.7] Visibility Bug

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [FIXED] [V0.7] Visibility Bug

    Hello,

    The following example is related to the following (http://forums.ext.net/showthread.php...=3484-5-1.aspx), except now I'm hiding an ExtJS control by setting an ASP.NET PlaceHolder visibility:

    Example.aspx:
    <%@ Page Language="C#" %>
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            ComboBox1.SetValue("Word");
        }
    </script>
    <!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" StateProvider="PostBack" />
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:PlaceHolder ID="phAccountType" runat="server" Visible="False">
                                    <ext:ComboBox ID="ComboBox1"
                                        runat="server"
                                        Editable="True"
                                        EmptyText="----"
                                        ForceSelection="True"
                                        Mode="Local"
                                        Select&#111;nfocus="True"
                                        TriggerAction="All"
                                        TypeAhead="True"
                                        ValueNotFoundText="----"
                                        Width="255">
                                        <Items>
                                            <ext:ListItem Text="Word" Value="Word" />
                                            <ext:ListItem Text="Word 1" Value="Word 1" />
                                        </Items>
                                    </ext:ComboBox>
                      </asp:PlaceHolder>
                </ContentTemplate>
            </asp:UpdatePanel>
        </form>
    </body>
    </html>
    Replication steps:

    1. Load page
    2. Notice JS errors

    Tested in FF3.0 and IE6

    Cheers,
    Timothy
  2. #2

    RE: [FIXED] [V0.7] Visibility Bug

    Hi Timothy,

    Good catch.


    Fixed and committed.*


    Please confirm when you get a chance.*


    Geoffrey McGill
    Founder
  3. #3

    RE: [FIXED] [V0.7] Visibility Bug

    Confirmed, thanks!

    Cheers,
    Timothy

Similar Threads

  1. [CLOSED] Node visibility
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Jun 14, 2012, 2:54 PM
  2. GridPanel visibility
    By AlexMaslakov in forum 1.x Help
    Replies: 5
    Last Post: Aug 17, 2011, 12:56 PM
  3. [FIXED] [0.8.2] BoxLabel Visibility
    By Timothy in forum Bugs
    Replies: 7
    Last Post: Oct 08, 2009, 11:51 PM
  4. Gettting Portlet's Visibility
    By Neeraj Sharma in forum 1.x Help
    Replies: 0
    Last Post: Jan 27, 2009, 7:43 AM
  5. [FIXED] [V0.8.0] TabPanel Visibility Bug
    By Timothy in forum Bugs
    Replies: 4
    Last Post: Jan 26, 2009, 12:20 PM

Posting Permissions