Browse by Tags

All Tags » .net » AJAX (RSS)

Datatable to JSON by aghausman12

In this post I will explain you, how can we serialize Datatable to JSON. So that, it can easily pass to JavaScript to get the AJAX done. First of all fill a Datatable with some results. DataTable dt = new DataTable();   SqlConnection objSqlCon =...
Filed under: , , , ,

Passing Parameter To User Control On A Modal Popup by aghausman12

This is the most demanded scenario for the one who are using Asp.net AJAX Control Toolkit, I mean I have seen most of the people asking for this feature on asp.net forum. Unfortunately, we have no such functionality provided in Modal Popup because the...
Filed under: , ,

Disable Control When Asp.net AJAX is in progress by aghausman12

If the AJAX call to the server take too much time, then there is a possibility that user might press some other buttons or some other event occurred which will cause your AJAX call to stop and make a new request. To overcome this situation, I decided...
Filed under: , , ,

Validate username using custom validation (AJAX) by aghausman12

In this post, I will explain you how to have an ajax call on custom validator control and check for the username in the database. This task will include two pages one is the form page (default.aspx in our case) in which we have the custom validator and...
Filed under: , , ,
More Posts