Category - XML
Results 1 - 5 of 19
Here Mudassar Ahmed Khan has explained with an example, how to display XML file with Formatting in HTML page using JavaScript and jQuery.

The XML file will be selected using FileUpload element and its content will be read using HTML5 FileReader and finally the formatted XML file will be displayed using HTML TextArea element.
03 Mar 2017 0 Comments  2172 Views
ASP.Net  AJAX  jQuery  XML  MVC
Here Mudassar Ahmed Khan has explained with an example, how to return XML file from Action method of Controller to View in ASP.Net MVC Razor.
ContentResult return type is used for returning XML file as XML string from Controller to View in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to read, parse and display a XML file selected in FileUpload control (HTML File Input) on client side using JavaScript, jQuery and HTML5.

HTML5 allows developers to access the contents of XML files and details using JavaScript and jQuery and hence in browsers that support HTML5 one can easily read the XML file contents.
28 Feb 2017 0 Comments  2428 Views
ASP.Net  XML  MVC
Here Mudassar Ahmed Khan has explained with an example, how to read and display XML data in View in ASP.Net MVC Razor.
The XML data will be read from an XML file and the fetched XML records will be displayed in Grid (HTML Table) format in View using Model class in ASP.Net MVC Razor.
Here Mudassar Ahmed Khan has explained with an example, how to display (show) XML string (data) on HTML page in Table format using JavaScript and jQuery.
The XML string will be read into an XML document which will be later used to populate the HTML Table using JavaScript and jQuery.
Results 1 - 5 of 19