Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>i think...you have to use two way binding with your HTML code...so, once your client side change you will get on your costume js file.</p> <p>check here for knockout js.</p> <p><a href="http://knockoutjs.com/" rel="nofollow">Knock Out JS Link</a></p> <p>and on C# code use : $("#urlhidden").val() OR Document.GetElemenyByID("#urlhidden").val().</p> <p>here you will get array/list or textbox value</p> <p>Use json with Ko</p> <p>create new viewmodel for knockout js which you will get the idea about on above link.</p> <p>and create a json call like:</p> <pre><code> self.LoadMAS_Client = function () { try { var params = { "clientID": ClientId }; $.ajax({ type: "POST", url: "http://" + ServerString + "/Services/LogisticsAppSuite-Services-Web-Services-MasClientService.svc/Json/GetAllLevelSubClients", contentType: 'application/json', data: JSON.stringify(params), dataType: 'json', async: false, cache: false, success: function (response) { // in response u will get the data.and use as per your requirement. eg. self.SelectedClient(response.your value); }, error: function (ErrorResponse) { } }); } catch (error) { } }; </code></pre> <p>================================New Update ========================================== i think..one way you can do...get data on xml format at C# code and covert into json string...check below code // To convert an XML node contained in string xml into a JSON string </p> <pre><code>XmlDocument doc = new XmlDocument(); doc.LoadXml(xml); string jsonText = JsonConvert.SerializeXmlNode(doc); // To convert JSON text contained in string json into an XML node XmlDocument doc = (XmlDocument)JsonConvert.DeserializeXmlNode(json); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload