[CLOSED] Standalone Store
In v1.2 we typically define a store in the markup outside of a GridPanel or other control. But in v2.0 this is not working.
Code:
<asp:LinqDataSource ID="LDS" runat="server" ... />
<ext:Store ID="Store1" runat="server" DataSourceID="LDS">
<Model>
...
</Model>
</ext:Store>
...
<ext:GridPanel runat="server" StoreId="Store1" >
...
</ext:GridPanel>
When I run the code I get:
Control with type 'System.Web.UI.WebControls.LinqDataSource' cannot be handled by layout.
Through my limited understanding of the code it looks like it can not determine its container and thus the excpetion is raised.