Category - AJAX
Results 1 - 5 of 284
07 Oct 2019 07 Oct 2019 0 Comments  4586 Views
Here Mudassar Ahmed Khan has explained with an example, how to display AJAX ModalPopupExtender Modal Popup inside RowCommand event of GridView in ASP.Net using C# and VB.Net.

Inside the GridView OnRowCommand event handler, the GridView Selected Row details will be fetched and displayed in the ASP.Net AJAX ModalPopupExtender Modal Popup.
13 Jun 2019 13 Jun 2019 0 Comments  4949 Views
Here Mudassar Ahmed Khan has explained with an example, how to avoid (Prevent) Page refresh (reload) after SelectedIndexChanged is fired in ASP.Net DropDownList using C# and VB.Net.

The only possible way is to place the DropDownList inside ASP.Net AJAX UpdatePanel so that, instead of Full PostBack which causes Page refresh (reload), a Partial PostBack will occur.
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.
22 May 2019 03 Jun 2019 0 Comments  5469 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 .
21 May 2019 21 May 2019 0 Comments  5324 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Session variable in JavaScript using jQuery in ASP.Net MVC Razor.

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 jQuery AJAX and pass the value of JavaScript variable to a Controller and inside the Controller the value will be set in Session variable in ASP.Net MVC Razor.
Results 1 - 5 of 284