Activate your free membership today | Log-in

Thursday, February 2nd, 2006

An Ajax Repeater control with ASP.NET

Category: .NET, Ajax

Jigar Desai has information in this post from C# Corner about using an ASP.NET repeater control with Ajax to dynamically build out a table of data.

XMLHttp and AJAX can really make your application do tricks which were not possible with plain vanilla HTML, but your code can become messy very quickly if you do not plan your approach properly.

JavaScript library that looks ahead of all is prototype’s library for Ajax (http://prototype.conio.net/) but there is still no such utility that will help you to display tabular data with ease that you get when you use control like repeater control of asp.net so I decided to make one and share with community.

He talks about the setup of the Control, how it needs to be able to grab the XML via an Ajax connection, and understand the resulting content enough to know if anything needs to be called to manipulate it. He shows the sample XML structure for the application, and moves on to the code for the Control. The HTML and Javascript are placed in the page, and the call is made to the ASP.NET script to fetch the data. The javascript then builds out the table, creating a nice, dyanmic method of displaying rows of data on your page.

Posted by Chris Cornutt at 8:00 am
5 Comments

++++-
4.1 rating from 74 votes

5 Comments »

Comments feed TrackBack URI

Using a lot of the same priciples already found in Anthem.NET.
If you’re not using Jason’s library already, you should be.

Comment by Stuart Allen — February 2, 2006

I will recommend using Ajax.Net library to create your custom ajax repeater contols.

Comment by Ashish Gupta — June 27, 2006

Read this CodeProject tutorial to help you out.

AJAX Paging Repeater

Comment by anyUser — November 21, 2006

If you’re looking forflower girl dresses a quality sports bag, Ogio? has a variety of styles for gucci handbagseither the gym or the field. For colorful gucci guccissima walletsbackpacks, for school or work, Dakine? has a selection that will not disappoint. If you are looking forgucci handbags jackie a diaper bag but don’t want to compromise your style, Timi & Leslie? has a fashionable selection of functional diapers bags to keep you and your little bundle happy. Fossil has a range of gucci coin bi-foldversatile and stylish wallets to keep your money safe inaion gold your pocket or purse.

Comment by wuwei — December 16, 2009

tiffany rings tiffany rings
tiffany engagement rings tiffany engagement rings
tiffany wedding rings tiffany wedding rings
tiffany necklace tiffany necklace
tiffany sets tiffany sets
tiffany bracelet tiffany bracelet
tiffany pendant tiffany pendant
tiffany earrings tiffany earrings
tiffany accessories tiffany accessories
tiffany charms tiffany charms
Abercrombie Jeans Abercrombie Jeans
Abercrombie Pants Abercrombie Pants
Abercrombie Tees Abercrombie Tees
Abercrombie Shorts Abercrombie Shorts
Abercrombie Sweater Abercrombie Sweater
Abercrombie Outerwear Abercrombie Outerwear
Abercrombie Hoodies Abercrombie Hoodies
Abercrombie Polo Abercrombie Polo
Abercrombie ShirtsAbercrombie Shirts
abercrombie henleys crew abercrombie henleys crew
hollister hollister
hollister uk hollister uk
abercrombie mens abercrombie mens
abercrombie womens abercrombie womens
Ruehl 925 Ruehl 925
ed hardy ed hardy
shamwow shamwow
nest match nest match

Comment by jenny625 — March 16, 2010

Leave a comment

You must be logged in to post a comment.