Eminent Infosystems Pvt. Ltd.

Eminent Infosystems Pvt. Ltd.
Question :  Difference between DataList and Repeater controls
Posted by: Manisha

Answer :    Answer: The DataList control is similar to the Repeater control. However, it has some additional properties and templates that you can use to display its data in a diverse fashion. The Repeater control does not have any built-in layout or style. We are forced to specify all formatting-related HTML elements and style tags. On the other hand, a DataList control provides more flexibility to display data in a desired layout. It also provides data selection and editing capabilities. How does it do it? Well, in addition to the five templates (Item Template, AlternatingItem Template, Separator Template, Header Template, Footer Template that a repeater has, the DataList control has two more templates: SelectedItemTemplate, and EditItemTemplate. These templates are useful for allowing data selection and data editing functionalities.

Furthermore, the RepeatDirection and RepeatColumns properties of a DataList control can be exploited to lay out the data in horizontal or vertical fashions.

Ref : http://dotnet-question-answer.blogspot.in/
Posted : Manisha    5  

Post Your Answer...    

Ref. By :

Post Your Question / Tips.. (Click Here)
Skip Navigation Links
3rd Floor, Plot No. 7, Tokas Complex, Ambrahi Market, Sector 19, Dwarka New Delhi - 110075 - India

© Copyright 2010 Eminent Infosystems Pvt. Ltd. All rights reserved
Design Website, Website Design, Website Designing Company, Website Development, Web Development, SEO, SEO services, Logo design, Website promotion, Website Maintainance, Web hosting, Designing, Printing, website requirement, software, Customized software, web applications, website development in dwarka, website designing in dwarka, web solution, company branding, printing solution, digital printing solution, matel card, matel business card, wedding cards, expensive wedding cards, brouchers, brouchers designing, pamplate designing, creative designer, 3d design, logo, creative logo, creative logo design