Learning Resources
Â
Using the ItemSeparatorTemplate
Use the ItemSeparatorTemplate property to define the contents of the separator between single items of the ListView control. The ItemSeparatorTemplate is displayed after every item except the last one.
To specify the custom template declaratively, add an ItemSeparatorTemplate element inside the ListView control. You can then add the contents of the template to the ItemSeparatorTemplate element.
The following example shows how to create an item separator in the ListView control by using the ItemSeparatorTemplate property.
<%@ Page language="C#" %>
   "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Â
  Â
  Â
Â
Â
  Â
Â