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?
Printable View
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?
change the <ext:ArrayList> to the <ext:JsonReader>
</PRE>Code:<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>
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.