ASP.NET
  Home arrow ASP.NET arrow Making Use of the Repeater Web Server Cont...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

Making Use of the Repeater Web Server Control
By: Justin Cook
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 14
    2004-06-28

    Table of Contents:
  • Making Use of the Repeater Web Server Control
  • Get the Data
  • Can You Repeat That Please?
  • Ooooh, Bubbles!
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Making Use of the Repeater Web Server Control


    (Page 1 of 5 )

    If you had a chance to read my two articles detailing the use of the DataGrid web server control (Return of the DataGrid and Behold the Power of the DataGrid), then no doubt you're excited to see how great .Net is for Rapid Application Development. However, you may have found the DataGrid a little inflexible for your needs. Perhaps you wanted to alter the output, and don't like being constrained to a <table>. Well, if you can do without the fancy editing and sorting functionality, then the Repeater Control is just the Control for your needs.

    Introduction

    What exactly is a Repeater Web Server Control, and what does it do? To over-simplify and encapsulate the answers to both questions at once, a Repeater is a mechanism for repeating data. Hence the name. If you'd like a little more detail (of course you do, otherwise you wouldn't be the type to be researching on ASPFree!), a Repeater is a template-controlled data-bound list.

    Now when I say template-controlled, what I mean is that you have to specify what data you wish to repeat, and in what layout. But beyond that there are four optional areas of the Repeater that can be controlled through separate templates.

    The Repeater also offers the option of embedding other controls within itself, and then bubbling up and capturing events from those controls.

    These capabilities just mentioned combine to offer what is a very flexible way to handle something such as a shopping cart application. And that is precisely what this article will show you how to do, step by step.

    More ASP.NET Articles
    More By Justin Cook


     

    ASP.NET ARTICLES

    - Adding Content to a Static ASP.NET Website
    - Building a Static ASP.NET Website in a Basic...
    - Develop Your First ASP.NET Website with Visu...
    - Run ASP.NET in Windows XP Home with Cassini ...
    - How to Test a Web Application
    - How to Add Code and Validation Controls to a...
    - Working in Source and Split Views to Build a...
    - How to Build a Web Form for a One-Page Web A...
    - How to Develop a One-Page Web Application
    - An ASP.NET Web Application in Action
    - Developing ASP.NET Web Applications
    - An Introduction to ASP.NET Web Programming
    - Introduction to the ADO.NET Entity Framework...
    - Completing an In-Text Advertising System und...
    - Programming an In-Text Advertising System un...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek