Category - JSON
Results 1 - 5 of 70
05 Dec 2019 05 Dec 2019 0 Comments  83 Views
Here Mudassar Ahmed Khan has explained with an example, how to download JSON object (Array) as File from Browser using JavaScript.

Initially a JSON object (Array) will be created and then it will be converted into a JSON String, then to BLOB object and ultimately downloaded (exported) as Text file from Browser using JavaScript.
16 Jul 2019 16 Jul 2019 0 Comments  4045 Views
ASP.Net  JSON  MVC
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) JSON object values from Controller to View in ASP.Net MVC Razor.

In order to return JSON object values, the JsonResult return type is used for the Action method inside Controller in ASP.Net MVC Razor.
07 Jun 2019 07 Jun 2019 0 Comments  2283 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement AJAX Call using XML using JavaScript XmlHttpRequest (XHR) in ASP.Net MVC Razor.

The Controller’s Action method will be called using JavaScript XmlHttpRequest (XHR) and JSON from View in ASP.Net MVC Razor.
23 Apr 2019 23 Apr 2019 0 Comments  4924 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert HTML Table to JSON in ASP.Net using C# and VB.Net.

HTML Table cannot be directly accessed in the ASP.Net Code Behind (Server Side) and hence the values of HTML Table will be converted to JSON format using JavaScript and then sent to ASP.Net Code Behind (Server Side) using C# and VB.Net.
17 Apr 2019 17 Apr 2019 0 Comments  8122 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert HTML Table to DataTable in ASP.Net using C# and VB.Net.

HTML Table cannot be directly converted to DataTable and hence the values of HTML Table will be converted to JSON format and then using JSON.Net library, the JSON string will be converted to DataTable in ASP.Net using C# and VB.Net.
Results 1 - 5 of 70