ListView Control in ASP.Net 3.5

ListView Control in ASP.Net 3.5

The ListView is the combination of hybrid between a DataGrid and Repeater that integrates the free form templating of the Repeater with the editing features of the data grid.

The Control looks interesting because it basically allows you much more control over the layout than a DataGrid does and with more advanced features of the data grid.

The ListView doesn’t support paging ,so the DataPager an external control can be added to provide paging features.

The advantage of a separate control is that it gives much more control about what the pager looks like and where it can be placed on the page .

The Pager is essentially an extender control that extends the ListView with paging capabilities.

The ListView Control

Using the ListView for basic data display is very similar to using a Repeater. The ListView control and a set of templates includes the following:

* LayoutTemplate
* ItemTemplate
* AlternatingItemTemplate
* SelectedItemTemplate
* EmptyItemTemplate
* EmptyDataTemplate (?)
* ItemSeparatorTemplate
* GroupTemplate
* GroupSeparatorTemplate
* EditItemTemplate
* InsertItemTemplate

Leave a Reply


All material @ copyrighted by chrisranjana.com. If you want to link to this article you are welcome to do so. Unauthorized publication is strictly prohibited. This developer tutorial website contains articles by Php programmers , Software developers, Mysql programmers and asp c# programmers. This website also contains ajax tutorials and advanced mysql sql stored procedures and functions tutorials and sample codes.