Template properties of GridView control

Property

Type

Description

EmptyDataTemplate

 

ITemplate

The property is used to indicate the template content to be rendered when the control is bound to an empty source. This property takes precedence over EmptyDataText if both are set. If neither is set, the grid isn’t rendered if bound to an empty data source.

PagerTemplate

 

ITemplate

The property is used to indicate the template content to be rendered for the pager. This property overrides any settings you might have made through the PagerSettings property.