[CLOSED] After update from SVN: "Cannot read property 'success' of undefined"

Threaded View

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

    [CLOSED] After update from SVN: "Cannot read property 'success' of undefined"

    So after updating from SVN I get the following error when I search in a ComboBox:

    Cannot read property 'success' of undefined
    See this picture:

    Click image for larger version. 

Name:	delme.png 
Views:	110 
Size:	9.3 KB 
ID:	2655

    There is no problem with the code as it worked before SVN update.

    The ComboBox looks like this:

    <ext:ComboBox runat="server" AutoWidth="true" EmptyText="Search" Icon="User" FieldLabel="Search"
        ID="ComboBox_Customer_Search"
        DisplayField="CustomerName"
        ValueField="CustomerId"
        TypeAhead = "false"
        HideTrigger = "false"
        EnableKeyEvents = "true"
        MinChars = "1"
        LoadingText="Searching..."
        ForceSelection="false"
        ItemSelector="tr.list-item">
        <Template ID="Template1" runat="server">
            <Html>
                <tpl for=".">
                    <tpl if="[xindex] == 1">
                        <table class="cbStates-list">
                            <tr>
                                <th>Searchstring</th>
                                <th>CustomerName</th>
                                                            <th>ID</th>
                            </tr>
                    </tpl>
                    <tr class="list-item">
                        <td style="padding:3px 0px;">{SearchText}</td>
                        <td>{CustomerName}</td>
                        <td>{CustomerPnr}</td>
                    </tr>
                    <tpl if="[xcount-xindex]==0">
                        </table>
                    </tpl>
                </tpl>
            </Html>
        </Template>
        <Store>
            <ext:Store ID="Store_Customer_Search" runat="server" AutoLoad="false" OnRefreshData="Store_Customer_Search_Refresh">
                <Proxy>
                    <ext:PageProxy />
                </Proxy>
                <Reader>
                    <ext:ArrayReader>
                        <Fields>
                            <ext:RecordField Name="CustomerId" />
                            <ext:RecordField Name="SearchText" />
                            <ext:RecordField Name="CustomerName" />
                            <ext:RecordField Name="CustomerPnr" />
                        </Fields>
                    </ext:ArrayReader>
                </Reader>
            </ext:Store>
        </Store>
        <Listeners>
            <Select Handler="Ext.net.DirectMethods.CustomerSelected()" />
        </Listeners>
    </ext:ComboBox>
    I do not Select anything, so the CustomerSelected() is not called.
    Last edited by Daniil; May 01, 2011 at 9:16 PM. Reason: [CLOSED]

Similar Threads

  1. Replies: 1
    Last Post: Jun 26, 2012, 11:29 AM
  2. Replies: 2
    Last Post: Apr 10, 2012, 12:08 PM
  3. [CLOSED] Cannot read property "childNodes" of undefined
    By jlosi in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 02, 2011, 6:07 PM
  4. [CLOSED] GridPanel / Renderer : Property "undefined"?
    By wagger in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 03, 2011, 8:50 PM
  5. Replies: 12
    Last Post: Apr 13, 2011, 3:28 PM

Tags for this Thread

Posting Permissions