>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

Creating an AJAX-Enabled Grid using ICallbackEventHandler (Part 1) - function ajax page grid string functions code result

 
Registered tutorials: 501
Registered Users: 33129



Rating: 3 out of 1 votes cast


  
Category: Ajax and .NET

Creating an AJAX-Enabled Grid using ICallbackEventHandler (Part 1)

Digg this   Post to del.icio.us

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)

  1. Sort in ascending or in descending order by clicking on the arrows next to column name.
  2. Change current page.
  3. 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();

        }


Read Full Tutorial...



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.23747 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2