[CLOSED] Cannot read property 'proxy' of undefined

  1. #1

    [CLOSED] Cannot read property 'proxy' of undefined

    Hi

    In project, a gridpanel(below) with dynamic columns and dynamic store is designed.
    
    <ext:GridPanel Frame="true"
                            ClientIDMode="Static" runat="server" ID="grid" ColumnLines="true" RowLines="true">
                            <Listeners>
                                <AfterRender Handler="updateTotal(this);" />
                            </Listeners>
                        </ext:GridPanel>

    If data is bound at page_Load, every thing is ok. All functionalities are working.

    But when click on ext.net button(below) with direct event, gridpanel is not shown.

    <ext:Button runat="server" ID="btnSearch" Icon="Zoom" Text="Arama" Margins="0 0 0 5">
                                    <DirectEvents>
                                        <Click OnEvent="btnSearch_Click">
                                            <EventMask Msg="Searching..." ShowMask="true"></EventMask>
                                        </Click>
                                    </DirectEvents>
                                </ext:Button>
    In javascript debug App.grid_Store.proxy.data...........showing an error: Cannot read property 'proxy' of undefined

    There is no problem at Page_Load, as to direct event, gridpanel does not render.

    What is the problem ?
    Last edited by fabricio.murta; Jan 03, 2017 at 9:58 PM. Reason: no user feedback for 7+ days
  2. #2
    Hello gumush75!

    I believe in this case we will require a full, simplified test case in order to reproduce the issue and advice you on what's wrong with the approach you taken.

    I don't thing there's a problem with Ext.NET in this case as these are actions we have long supported in our product, but there could be something or an edge case we don't support.

    This example shows how one can change the entire grid panel with a direct event:
    - GridPanel - ColumModel - Change Models

    And here, loading a grid dynamically:
    - GridPanel - ArrayGrid - DirectEvent Creation

    Maybe one of those two examples alone shows you what's wrong on your implementation and that's it. But if not, the test case will be required.

    As you are reasonably new in the forums, we'd suggest you to take your time reading these guidelines on posting new threads in order to make sample codes we can effectively reproduce your issue and focus on the problem (without extras that might mislead the solution):
    1. More Information Required
    2. Forum Guidelines

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hello @gumush75!

    Been some days since we replied to this thread and still no feedback from you. Did the answer above help you at all? Do you still need help on this issue? We're looking forward for an update from you!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 5
    Last Post: Nov 04, 2016, 3:18 AM
  2. Replies: 1
    Last Post: Nov 01, 2016, 2:30 PM
  3. Replies: 5
    Last Post: Jan 27, 2015, 2:32 AM
  4. Replies: 5
    Last Post: Oct 30, 2013, 1:29 PM
  5. Replies: 2
    Last Post: Apr 10, 2012, 12:08 PM

Tags for this Thread

Posting Permissions