ASPSnippets RSS Feedhttps://www.aspsnippets.com/RSS.ashxLatest additions to the content that appears on ASPSnippets.(c) 2020, www.aspsnippets.com. All rights reserved.ASP.Net MVC Core: Pass (Get) data from View to Controller exampleHere Mudassar Ahmed Khan has explained with an example, how to pass (get) data from View to Controller in ASP.Net MVC Core 2.1. This article will explain how to create Form Fields using Model class and then pass (get) data from View to Controller using Model class object in ASP.Net MVC Core 2.1.https://aspsnippets.com/Articles/ASPNet-MVC-Core-Pass-Get-data-from-View-to-Controller-example.aspxhttps://aspsnippets.com/Articles/ASPNet-MVC-Core-Pass-Get-data-from-View-to-Controller-example.aspxMon, 06 Jan 2020 08:13:04 GMTASP.Net MVC Core: Display Message from Controller in View using JavaScript Alert MessageBoxHere Mudassar Ahmed Khan has explained with an example, how to display message from Controller in View using JavaScript Alert MessageBox in ASP.Net MVC Core. The message sent from Controller to View will be displayed in JavaScript Alert MessageBox using ViewBag object in ASP.Net MVC Core.https://aspsnippets.com/Articles/ASPNet-MVC-Core-Display-Message-from-Controller-in-View-using-JavaScript-Alert-MessageBox.aspxhttps://aspsnippets.com/Articles/ASPNet-MVC-Core-Display-Message-from-Controller-in-View-using-JavaScript-Alert-MessageBox.aspxSat, 04 Jan 2020 06:37:50 GMTASP.Net MVC Core Hello World Tutorial with Sample Program exampleHere Mudassar Ahmed Khan has provided a short Hello World Tutorial using a small Sample Program example on how to use and develop applications in ASP.Net MVC Core 2.1 for the first time. This article makes use of Visual Studio 2017 for developing the ASP.Net MVC Core 2.1 Hello World Tutorial with Sample Program example.https://aspsnippets.com/Articles/ASPNet-MVC-Core-Hello-World-Tutorial-with-Sample-Program-example.aspxhttps://aspsnippets.com/Articles/ASPNet-MVC-Core-Hello-World-Tutorial-with-Sample-Program-example.aspxWed, 25 Dec 2019 06:48:35 GMTClear TextBox on Click using jQueryHere Mudassar Ahmed Khan has explained with an example, how to clear TextBox on Click using jQuery. Clearing the TextBox's Text on Click is called Watermarking TextBox. This article will explain how to clear TextBox on Click i.e. Watermark TextBox using the FREE ASPSnippets jQuery Watermark plugin.https://aspsnippets.com/Articles/Clear-TextBox-on-Click-using-jQuery.aspxhttps://aspsnippets.com/Articles/Clear-TextBox-on-Click-using-jQuery.aspxSat, 21 Dec 2019 06:34:20 GMTClear TextBox on Focus using jQueryHere Mudassar Ahmed Khan has explained with an example, how to clear TextBox on Focus using jQuery. Clearing the TextBox's Text on Focus is called Watermarking TextBox. This article will explain how to clear TextBox on Focus i.e. Watermark TextBox using the FREE ASPSnippets jQuery Watermark plugin.https://aspsnippets.com/Articles/Clear-TextBox-on-Focus-using-jQuery.aspxhttps://aspsnippets.com/Articles/Clear-TextBox-on-Focus-using-jQuery.aspxSat, 21 Dec 2019 06:33:10 GMTConvert JSON data to HTML Table using JavaScriptHere Mudassar Ahmed Khan has explained with an example, how to convert JSON data to HTML Table using JavaScript. The HTML Table will be dynamically created by looping through the JSON array elements on Button Click using JavaScript.https://aspsnippets.com/Articles/Convert-JSON-data-to-HTML-Table-using-JavaScript.aspxhttps://aspsnippets.com/Articles/Convert-JSON-data-to-HTML-Table-using-JavaScript.aspxSat, 21 Dec 2019 06:31:45 GMTConvert (Export) JSON string as PDF using JavaScriptHere 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.https://aspsnippets.com/Articles/Convert-Export-JSON-string-as-PDF-using-JavaScript.aspxhttps://aspsnippets.com/Articles/Convert-Export-JSON-string-as-PDF-using-JavaScript.aspxSat, 21 Dec 2019 06:28:23 GMTUsing ViewState inside JavaScript in ASP.NetHere Mudassar Ahmed Khan has explained with an example, how to use ViewState variable inside JavaScript in ASP.Net with C# and VB.Net. ViewState is a Server Side class object which though stores the data on Client Side but it is in Encrypted Form (Hashed format) and hence cannot be read by Plain JavaScript. Thus the ViewState variable is accessed inside JavaScript code with the help of Server Side Code Blocks in ASP.Net with C# and VB.Net.https://aspsnippets.com/Articles/Using-ViewState-inside-JavaScript-in-ASPNet.aspxhttps://aspsnippets.com/Articles/Using-ViewState-inside-JavaScript-in-ASPNet.aspxThu, 19 Dec 2019 08:29:41 GMTStore (Save) Temporary data in GridView in ASP.Net using C# and VB.NetHere Mudassar Ahmed Khan has explained with an example, how to store (save) Temporary data in GridView in ASP.Net using C# and VB.Net. When the Add Button is clicked, the data from the TextBoxes will be inserted into a DataTable which will be stored (saved) in ViewState and later used to populate the GridView in ASP.Net using C# and VB.Net.https://aspsnippets.com/Articles/Store-Save-Temporary-data-in-GridView-in-ASPNet-using-C-and-VBNet.aspxhttps://aspsnippets.com/Articles/Store-Save-Temporary-data-in-GridView-in-ASPNet-using-C-and-VBNet.aspxThu, 19 Dec 2019 07:53:44 GMTUse Page_ClientValidate function with JavaScript in ASP.NetHere 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.https://aspsnippets.com/Articles/Use-PageClientValidate-function-with-JavaScript-in-ASPNet.aspxhttps://aspsnippets.com/Articles/Use-PageClientValidate-function-with-JavaScript-in-ASPNet.aspxThu, 19 Dec 2019 07:51:53 GMT