Multimobile Development: Building Applications for any Smartphone
System.Web.UI.WebControls.Repeater Class
Information   Base Types   Related Resources

A data-bound list control that allows custom layout by repeating a specified template for each item displayed in the list.

  • Namespace: System.Web.UI.WebControls
  • Assembly: System.Web.dll

  • System.Web.UI.Control
    System.IDisposable
    System.ComponentModel.IComponent
    System.Web.UI.IParserAccessor
    System.Web.UI.IDataBindingsAccessor
    System.Web.UI.INamingContainer
  • View this type on MSDN
  • Search for this type on MSDN using MSDN's own search engine
  • Google for this type - all Web
  • Google for this type - MSDN only
    Articles (8)Discussions (50)MembersRotor
    Articles

    Page: 1
    "Stupid" Data Binding Tricks
    LearnASP
    This page demonstrates how databinding functions can be used to emit arbitrary HTML into a database display without having to place any code in the templates, merely one function call. It illustrates the potential to be used for a variety of purposes: totals, fixing nulls, conditionally displaying data, displaying group bands, etc.
    A Grouping Repeater Control for ASP.NET
    The Code Project
    This custom repeater control can be used to add group headers to your output.
    A Grouping repeater controls for ASP.Net
    The Code Project
    This custom repeater control can be used to add group headers to your output.
    Calendar of Events in C#
    Yyyz.net
    I needed a web based even calendar and thanks to the new .Net Calendar Control, the rest was easy. What I ended up with was a nice little event based calendar. If you select a date with a scheduled event, a Repeater Control appears below the calendar with event specifics for the day selected.
    Pager Control for Repeater, DataList, or an Enumerable Collection
    The Code Project
    This control acts at the middle man between a PagedDataSet and your Repeater
    Pager Control for Repeater, DataList, or an Enumerable Collection
    The Code Project
    This control acts as the middle man between a paged DataSet and your Repeater.
    Simple Paging in Repeater and DataList Controls
    Master C#
    Most of the times while creating database driven web pages like product listing, employee directory, etc. we display the data in grid format. ASP.NET has come up with Web Controls like DataGrid, DataList and Repeater that allow you to display your data in tabular format easily. Amongst the above three Web Controls the DataGrid Control is the most advanced and supports paging, templates etc. The other two controls are used in places where you need more control over the rendering of your data. The DataList and Repeater Controls have very flexible templates that give you total control over the formatting of your data, but one of the major drawbacks of these controls is that they do not support paging!!
    Using the ASP.NET Repeater Control
    http://www.dotnetgenius.com/
    When I was first learning to use .NET, I was reading an overview comparison between ASP.NET and ASP. A particular sentence struck my eye : "In ASP.NET, you can use Response.Write, but it isn't recommended". I thought to myself : "Isn't recommended? How will I write out my HTML? How will I loop through my datasets and build tables? I had seen the datagrid, and it's great for displaying a raw table of data, but how would I write out just one column? What if the data was mixed with HTML? I found the answer in my new favorite ASP.NET Server control : Repeater. In this article, I'll show you how I used it to create the left side menu for dotnetGenius.
    Ad
    BootFX
    Reliable and powerful .NET application framework.
    iOS, Android and Windows Phone Development Training and Consultancy
    Hosted by RackSRV Communications
     
    Copyright © AMX Software Ltd 2008-2012. Portions copyright © Matthew Baxter-Reynolds 2001-2012. All rights reserved.
    Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734

    Hi! 10 years ago I founded .NET 247. I am working on a new and exciting replacement for the site. Please join me on Twitter to discuss.

    Thanks,
    Matthew Baxter-Reynolds (@mbrit)

    Follow mbrit on Twitter