APNSoft.com - Web Controls, components for ASP.NET
 About Us 
 Articles 
 Products
 Downloads 
 Purchase
 Support

DataGrid
Controls Suite 4.5


Overview
Features
Reference Book
Live Demos
Populating with Data
Columns
Rows
Appearance & Layout
Behavior
Running Mode
Context Menu
Custom AJAX call
Auto-resizing
Bottom Bar
Application scenarios




Book details:
Please click on the row for more details.



Please click on the row to display book details.

In the client-side procedure GetBookDetails() we perform an AJAX request by calling the dg.CallTheServer() method. In the server-side procedure myDataGrid_CallTheServer() we get book details and set the Parameter which is passed from the server to the client-side procedure ReturnBookDetails(). This procedure is used to render details on the page.


APNSoft DataGrid includes AJAX processing module, which allows developer to launch custom asynchronous calls. To launch and process a custom AJAX call, we use three steps:
  1. Call the server from the client-side by launching the dg.CallTheServer() method. This method is a part of Grid's API.
  2. Process the data on the server side by using the event-handling method for the CallTheServer event.
  3. Receive the data from the server and process them on the client side by code assigned by the ClientSideAfterCallBack property.




Code Samples:


© 2003-2017 APNSoft. All rights reserved.    Terms of use.