[FIXED] [V0.7] DeferredRender and ComboBox Bug

  1. #1

    [FIXED] [V0.7] DeferredRender and ComboBox Bug

    Hello,

    The following example fails after revision 688 from SVN:

    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 runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <ext:TabPanel ID="TabPanel2" runat="server" ActiveTabIndex="0" AutoPostBack="True" AutoWidth="True" DeferredRender="True">
                        <Tabs>
                            <ext:Tab ID="Tab21" runat="server" AutoHeight="True" Title="Tab 2.1">
                                <Body>
                                    Blah
                                </Body>
                            </ext:Tab>
                            <ext:Tab ID="Tab22" runat="server" AutoHeight="True" Title="Tab 2.2">
                                <Body>
                                    <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>
                                </Body>
                            </ext:Tab>
                        </Tabs>
                    </ext:TabPanel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </form>
    </body>
    </html>
    Replication steps:

    1. Load page, notice JS error

    Cheers,
    Timothy
  2. #2

    RE: [FIXED] [V0.7] DeferredRender and ComboBox Bug

    The following is being rendered in

    Coolite.Ext.setValues([[ComboBox1,"Word"]]);
    Cheers,
    Timothy
  3. #3

    RE: [FIXED] [V0.7] DeferredRender and ComboBox Bug

    Hi Timothy,

    Using the latest SVN code, your code sample above (straight copy/paste) appears to work properly and no js errors are thrown.*


    Give it another shot and let me know if you're still getting the same error.*


    Geoffrey McGill
    Founder
  4. #4

    RE: [FIXED] [V0.7] DeferredRender and ComboBox Bug

    Geoffrey, my last check out was yesterday afternoon (EST), I can't remember the revision number off hand, so I will do just that and get back to you when I'm in the office.

    Cheers,
    Timothy
  5. #5

    RE: [FIXED] [V0.7] DeferredRender and ComboBox Bug

    Confirmed resolved.

    Cheers,
    Timothy

Similar Threads

  1. [CLOSED] DeferredRender Layout Problem TabPanel.
    By pdcase in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Dec 11, 2011, 11:29 AM
  2. deferredRender for CardLayout
    By Dexter in forum 1.x Help
    Replies: 1
    Last Post: Dec 13, 2010, 1:55 PM
  3. [CLOSED] DeferredRender in CardLayout
    By reto.ruemmeli in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 17, 2010, 5:09 PM
  4. [CLOSED] DeferredRender causing ComboBox to render incorrectly
    By jsemple in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 05, 2009, 5:54 PM
  5. [CLOSED] TabPanel DeferredRender
    By danielg in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 06, 2009, 11:25 AM

Posting Permissions