How to convert a store to json string?
Hi, guys
I've got a problem.
I have a store like below:
Code:
<ext:Store ID="Store2" runat="server" AutoLoad="true" OnRefreshData="Store2_Refresh">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="Id" Type="Int" />
<ext:RecordField Name="Manufacture" />
<ext:RecordField Name="PartNo" />
<ext:RecordField Name="Quantity" Type="Int" />
<ext:RecordField Name="Desc" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
now I want to convert the data in Store2 to a jason string and then send it to server end as a parameter.
Does anybody know how?
RE: How to convert a store to json string?
RE: How to convert a store to json string?
*Thanks vladimir, it helped a lot!