Category - Button
Results 1 - 5 of 54
31 Jan 2020 31 Jan 2020 0 Comments  610 Views
ASP.Net  MVC  Button  Form  Core
Here Mudassar Ahmed Khan has explained with an example, how to submit (post) a Form and send data from View to Controller in ASP.Net Core MVC.

This article will explain how to create Form Fields and then send data from View to Controller using Form Collection in ASP.Net Core MVC.
21 Dec 2019 21 Dec 2019 0 Comments  1351 Views
Here Mudassar Ahmed Khan has explained with an example, how to convert (export) JSON string as PDF using JavaScript.

The JSON string will be converted into a JSON object. The data from the JSON object will be used to populate an HTML Table and later the HTML Table will be downloaded (exported) as PDF file using the pdfmake plugin in JavaScript.
19 Dec 2019 19 Dec 2019 0 Comments  909 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Page_ClientValidate function with JavaScript in ASP.Net.

Page_ClientValidate is an ASP.Net JavaScript function in-built which is used to perform ASP.Net validation explicitly i.e. invoking the ASP.Net Validators using JavaScript.

For example, in order to make the RequiredFieldValidator work with OnClientClick we need to make use of Page_ClientValidate JavaScript function in ASP.Net.
16 Dec 2019 16 Dec 2019 0 Comments  818 Views
Here Mudassar Ahmed Khan has explained with an example, how to download JSON object (Array) as File from Browser using jQuery.

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 jQuery.
16 Dec 2019 16 Dec 2019 0 Comments  1816 Views
ASP.Net  MVC  Button  Form
Here Mudassar Ahmed Khan has explained with an example, how to call Controller's Action method with Parameter on Button Click in ASP.Net MVC Razor.

When the Submit Button is clicked, the Form will be submitted and the data inside the Form will be sent to the Controller's Action method as parameter using Model class object in ASP.Net MVC Razor.
Results 1 - 5 of 54