title: PlaceHolder using Listview Error
body: <p>Below is my markup code which upon compiling gives me the error message.I have searchd for hours in google but cannot help myself.What is the incoorect code in my markup.
  I have a cs file for this pagewhich binds data to this listview conrol</p>
  
  <p>Any help to fix this will be greatly helpful</p>
  
  <p><strong>Error Message:An item placeholder must be specified on ListView 'listview1'. Specify an item placeholder by setting a control's ID property to "itemContainer". The item placeholder control must also specify runat="server".</strong></p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Attestation2.aspx.cs" Inherits="Attestation2" %&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body style="z-index: 1; left: 21px; top: 0px; position: absolute; height: 313px;
      width: 983px"&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div&gt;
          &lt;asp:DropDownList ID="Entitlementdlist" runat="server" AutoPostBack="true" Visible="true"
              ToolTip="All the Requests in this dropdown are Entitlement Requests only"&gt;
          &lt;/asp:DropDownList&gt;
          &lt;%--asp:PlaceHolder ID="PlaceHolder1" runat="server"&gt;&lt;/asp:PlaceHolder&gt;--%&gt;
          &lt;asp:ListView ID="listview1" runat="server" ItemPlaceholderID="itemplaceholder" &gt;
  
              &lt;ItemTemplate&gt;
                  &lt;table style="border:1px solid black;"&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Report Name&lt;/td&gt;
                          &lt;td&gt;&lt;asp:TextBox ID="ReportNameLbl" runat="server" Text='&lt;%#Eval("REPORT_DESCRIPTION.rptdesctext") %&gt;' Width="500"&gt;&lt;/asp:TextBox&gt; &lt;/td&gt;
                          &lt;td&gt;
                          &lt;asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatDirection="Horizontal"&gt;
                               &lt;asp:ListItem Text="Yes" Value="Yes"&gt;&lt;/asp:ListItem&gt;
                                  &lt;asp:ListItem Text="No" Value="No"&gt;&lt;/asp:ListItem&gt;
                              &lt;/asp:CheckBoxList&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Content Description&lt;/td&gt;
                          &lt;td&gt;
                          &lt;asp:Label ID="ContentDescLbl" Text='&lt;%#Eval("REPORT_REQUEST.StopLossMax") %&gt;' runat="server" &gt;&lt;/asp:Label&gt;
                          &lt;/td&gt;
                          &lt;td&gt;
                          &lt;asp:CheckBoxList ID="CheckBoxList2" runat="server" RepeatDirection="Horizontal"&gt;
                               &lt;asp:ListItem Text="Yes" Value="Yes"&gt;&lt;/asp:ListItem&gt;
                                  &lt;asp:ListItem Text="No" Value="No"&gt;&lt;/asp:ListItem&gt;
                              &lt;/asp:CheckBoxList&gt;
                          &lt;/td&gt;
  
  
  
  
                      &lt;/tr&gt;
                      &lt;tr&gt;
  
                      &lt;td&gt;
                      Frequency
                      &lt;/td&gt;
                      &lt;td&gt;
                       &lt;asp:Label ID="frequencyLbl" Text='&lt;%#Eval("REPORT_REQUEST.reportfrequency") %&gt;' runat="server" &gt;&lt;/asp:Label&gt;
                      &lt;/td&gt;
                      &lt;td&gt;
                      &lt;asp:CheckBoxList ID="CheckBoxList3" runat="server" RepeatDirection="Horizontal"&gt;
                               &lt;asp:ListItem Text="Yes" Value="Yes"&gt;&lt;/asp:ListItem&gt;
                                  &lt;asp:ListItem Text="No" Value="No"&gt;&lt;/asp:ListItem&gt;
                              &lt;/asp:CheckBoxList&gt;
                      &lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                      &lt;td&gt;
                      Recepients
                      &lt;/td&gt;
                      &lt;td colspan="2"&gt;
                      &lt;td&gt;
                      &lt;asp:ListView ID = "lstview2" runat = "server" &gt;
                       &lt;/asp:ListView&gt;
                      &lt;/td&gt;
                      &lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
  
                  &lt;/asp:Table&gt;--%&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:ListView&gt;
      &lt;/div&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>