View Full Version : [CLOSED] Cannot read property 'proxy' of undefined

Nov 20, 2016, 6:58 PM

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">
<AfterRender Handler="updateTotal(this);" />

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">
<Click OnEvent="btnSearch_Click">
<EventMask Msg="Searching..." ShowMask="true"></EventMask>

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 ?

Nov 21, 2016, 3:49 PM
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 (http://examples2.ext.net/#/GridPanel/ColumnModel/Change_Models/)

And here, loading a grid dynamically:
- GridPanel - ArrayGrid - DirectEvent Creation (http://examples2.ext.net/#/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 (http://forums.ext.net/showthread.php?10205-More-Information-Required)
2. Forum Guidelines (http://forums.ext.net/showthread.php?3440-Forum-Guidelines-For-Posting-New-Topics)

Hope this helps!

Dec 02, 2016, 2:34 PM
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!