|
|
Registered tutorials: 501 Registered Users: 33126
|
|
Rating: 3 out of 1 votes cast
Category: Ajax and .NET
|
Creating an AJAX-Enabled Grid using ICallbackEventHandler (Part 1)
Abstract: This article details the development of an AJAX-enabled grid using ICallbackEventHandler, with operations which include sorting, paging and page length change.
The basic features of the gird are as follows (All operations are asynchronous) - Sort in ascending or in descending order by clicking on the arrows next to column name.
- Change current page.
- Change page length.
In this example we will use one of the most powerful features of ASP.Net - RenderControl. Using this method we are able to access the HTML of a control. To do this we will have to also use HtmlTextWriter and StringWriter as follows e.g. using (StringWriter sw = new StringWriter()) { HtmlTextWriter htw = new HtmlTextWriter(sw); _grid.RenderControl(htw); htw.Flush(); string result = sw.ToString(); }
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
171 |
| Unique Hits: |
155 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
0.2 |
0.2 |
1.5 |
1.6 |
5.9 |
7 |
| Current |
0 |
0 |
0 |
0 |
0 |
0 |
| Previous |
1 |
1 |
2 |
2 |
8 |
9 |
| Nov 29 |
0 |
0 |
0 |
0 |
13 |
13 |
| Nov 28 |
0 |
0 |
0 |
0 |
10 |
14 |
| Nov 27 |
0 |
0 |
4 |
5 |
10 |
10 |
| Nov 26 |
0 |
0 |
0 |
0 |
2 |
3 |
| Nov 25 |
0 |
0 |
2 |
2 |
6 |
9 |
| Nov 24 |
0 |
0 |
0 |
0 |
0 |
0 |
| Nov 23 |
1 |
1 |
1 |
1 |
5 |
7 |
| Nov 22 |
0 |
0 |
6 |
6 |
5 |
5 |
| Highest |
5 |
5 |
9 |
10 |
24 |
25 |
|
|
|
Script Execution Time: 0.60775 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|