Tuesday, July 27, 2010

GridView

Template Properties
EmptyDataTemplate
PagerTemplate
TemplateField
AlternatingItemTemplate
EditItemTemplate
FooterTemplate
HeaderTemplate
ItemTemplate

GridView repeats Template Field.ItemTemplate once per row for each record in the data source.

--------------------------------------------------------------------
DetailsView

EmptyDataTemplate
PagerTemplate
HeaderTemplate
FooterTemplate
TemplateField
Alternating-ItemTemplate
EditItemTemplate
FooterTemplate
HeaderTemplate
InsertItemTemplate
ItemTemplate

DetailsView renders TemplateField.ItemTemplate for field’s data cell the current record in the data source.

--------------------------------------------------------------------

FormView

EmptyDataTemplate
PagerTemplate
HeaderTemplate
FooterTemplate
ItemTemplate
EditItemTemplate
InsertItemTemplate

FormView renders the ItemTemplate for the current record in the data source.

--------------------------------------------------------------------
DataList

HeaderTemplate
FooterTemplate
AlternatingItemTemplate
ItemTemplate
EditItemTemplate
SelectedItemTemplate
SeparatorTemplate

DataList repeats the ItemTemplate once for each record in the data source

----------------------------------------------------
Repeater

HeaderTemplate
FooterTemplate
AlternatingItemTemplate
ItemTemplate
SeparatorTemplate

Repeater repeats the ItemTemplate once for each record in the data source.

No comments:

Post a Comment