Category - Web Method
Results 1 - 5 of 10
20 May 2020 20 May 2020 0 Comments  479 Views
Here Mudassar Ahmed Khan has explained with an example, how to send email using Web Service in ASP.Net using C# and VB.Net.

In this article, Gmail SMTP Mail Server will be used for sending emails.

To send email with Gmail SMTP Server, you will need to use an email address and password of a valid Gmail account and along with that you will need the Gmail SMTP Mail Server settings.
15 Apr 2020 15 Apr 2020 0 Comments  837 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate jQuery DataTable using WebMethod (PageMethod) and AJAX in ASP.Net with C# and VB.Net.

First a jQuery AJAX call will be made to a WebMethod (PageMethod) on Server Side and the WebMethod (PageMethod) will return the Data in JSON format.

Finally, the returned JSON data will be used on Client Side to populate the jQuery DataTable in ASP.Net with C# and VB.Net.
22 May 2019 03 Jun 2019 0 Comments  9171 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Session variable using jQuery in ASP.Net using C# and VB.Net.

jQuery is a JavaScript library and JavaScript is a Client Side language and hence directly it is not possible to set Session variable in jQuery.

Thus, the solution is to make an AJAX call using jQuery AJAX and pass the value of JavaScript variable to a Web Method and inside the Web Method, the value will be set in Session variable in ASP.Net using C# and VB.Net .
20 May 2019 20 May 2019 0 Comments  12366 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Session variable in JavaScript in ASP.Net using C# and VB.Net.

JavaScript is a Client Side language and hence directly it is not possible to set Session variable in JavaScript.

Thus, the solution is to make an AJAX call using XmlHttpRequest (XHR) and pass the value of JavaScript variable to a WebMethod and inside the WebMethod the value will be set in Session variable in ASP.Net using C# and VB.Net.
11 Apr 2019 11 Apr 2019 0 Comments  4452 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement AutoComplete TextBox using AngularJS in ASP.Net Web Forms using C# and VB.Net.

This article will illustrate how to use angucomplete-alt AutoComplete Directive for implementing Database driven AutoComplete TextBox using AngularJS in ASP.Net Web Forms with C# and VB.Net.
Results 1 - 5 of 10