why the DataSource of the store is null

  1. #1

    why the DataSource of the store is null

    I use a temptable DataTable as the datasource of the store, and set a breakpoint in the store commitechange event(in the asp.net.cs code), when i watch the datasource of the store instance, it is null.is it normally? anyone can help me?
  2. #2

    RE: why the DataSource of the store is null

    change the <ext:ArrayList> to the <ext:JsonReader>


        <ext:Store ID="Store1" runat="server">
            <Reader>
                <ext:JsonReader>
                   <Fields>
                        <ext:RecordField Name="ID" Type="Int" />
                        <ext:RecordField Name="GroupID" Type="Int" />
                        <ext:RecordField Name="Label_Name" />
                        <ext:RecordField Name="G_CName" />
                        <ext:RecordField Name="SeqNo" Type="Int" />
                        <ext:RecordField Name="Description" />
                        <ext:RecordField Name="Extend_Field1" />
                        <ext:RecordField Name="Extend_Field2" />
                    </Fields>
                </ext:JsonReader>
            </Reader>
        </ext:Store>
    </PRE>
  3. #3

    RE: why the DataSource of the store is null

    I have solved this problem. I change the datasource definded code in the Store class, use Session to store the datasource. I extend the coolite store project.

Similar Threads

  1. Replies: 3
    Last Post: Apr 11, 2012, 7:43 AM
  2. Replies: 5
    Last Post: Feb 01, 2012, 11:54 AM
  3. [CLOSED] ComboBox / Store / DataSource : Store.DataSource is NULL
    By wagger in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 24, 2011, 10:09 AM
  4. Store and clear datasource
    By glenh in forum 1.x Help
    Replies: 0
    Last Post: Oct 20, 2010, 5:18 AM
  5. Replies: 0
    Last Post: Mar 11, 2009, 5:06 AM

Posting Permissions