Get json in codebehind.

  1. #1

    Get json in codebehind.


    I have the control <ext:Store> on the page markup.
    I want to access that json in codebehind in text format.

    Here is what I have:

    <ext:Store ID="StoreDocumentoID" runat="server" AutoLoad="false"  OnRefreshData="DocumentosRefresh">
                <ext:HttpProxy  Json="true"  Method="GET" Url ="http://localhost:8000/Documentos?$format=json"/> 
                <ext:JsonReader Root="d.results" IDProperty="id" >
                        <ext:RecordField Name="id"  Mapping="id" />
                        <ext:RecordField Name="nome"  Mapping="nome" />                                                                                                 
      protected void ParserJsonTipoDocumento()
                var json = storeTipoDocumento... ???
                //JObject o = JObject.Parse(json);
    Anyone could understand my question?

    Last edited by luiz; Apr 19, 2011 at 6:37 PM.

Similar Threads

  1. [CLOSED] Json 4.0
    By majunior in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 24, 2011, 6:32 PM
  2. How to select row by JSon...
    By rebulanyum in forum 1.x Help
    Replies: 0
    Last Post: Mar 03, 2010, 5:29 AM
    By Zarzand in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 13, 2009, 9:49 AM
  4. [CLOSED] Json.NET
    By Ben in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 18, 2009, 3:12 PM
  5. JSON or document.get... ?
    By flaviodamaia in forum Open Discussions
    Replies: 1
    Last Post: Sep 03, 2008, 4:07 PM

Tags for this Thread

Posting Permissions