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
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: System.Web.dll

  • System.Web.UI.Control
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (5)Discussions (50)MembersRotorChanges
    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 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.
    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
    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification