Dec 21, 2010, 8:37 PM
[CLOSED] set Proxy URL of Store at runtime.
I have following Store with proxy, I need to set the URL of the proxy using code behind where I set this URL value at web.config key, how i can perform this:
<ext:Store ID="ProspectingStore" runat="server">
<Proxy>
<ext:HttpProxy DisableCaching="true" Json="true" Method="Post" Url="http://localhost:65000/UtilitiesWebService.asmx/strGetDelearProspecting">
</ext:HttpProxy>
</Proxy>
<BaseParams>
<ext:Parameter Name="delarLocationID" Value="1">
</ext:Parameter>
</BaseParams>
<Reader>
<ext:JsonReader Root="d.Data" TotalProperty="d.TotalRecords">
<Fields>
<ext:RecordField Name="PublishDate" Type="Date" />
<ext:RecordField Name="ProfileImage" />
<ext:RecordField Name="AuthorName" />
<ext:RecordField Name="Content" />
<ext:RecordField Name="AuthorScreenName" />
<ext:RecordField Name="ProspectID" />
<ext:RecordField Name="FacebookDateTimeStyle" />
</Fields>
</ext:JsonReader>
</Reader>
<Listeners>
<LoadException Handler="var e = e || {message: response.responseText}; alert('Load failed: ' + e.message);" />
</Listeners>
</ext:Store>
also i wana get the property value inside my page and set it as a value for one of parameters i have , can I.
Last edited by Daniil; Dec 23, 2010 at 2:49 PM.
Reason: [CLOSED]