title: How to get controls in InsertItemTemplate to show in a GridView
body: <p>I consider myself at intermediate level with the GridView. So far my understanding of it has come pretty easy to me, that is until I think I need to use the InsertItemTemplate. I could use the Footer to do my "add new" record but I have 19 fields I need the user to enter data into, I want to put it all into one column formatted using a . It works and looks great in the EditItemTemplate and the EmptyDataTemplate. I just can't figure out how to get the controls in the InsertItemTemplate to show. If I could figue out how to format the Footer to only show/use one wide column with my  I would use that because I understand the Footer and have used it a lot up to this point.</p>
  
  <p>Any way, here's my grid. I apologize for the size. There are a lot of fields.</p>
  
  <pre><code>&lt;InsertItemTemplate&gt;
      &lt;table width="100%" class="tdSilver" id="tblAdd"&gt;
          &lt;tr&gt;
              &lt;th style="width: 15%; text-align: left"&gt;
                  &lt;asp:Label runat="server" ID="lbllocationName_add" Text="Location Name" /&gt;
              &lt;/th&gt;
              &lt;th style="width: 20%; text-align: left"&gt;
                  &lt;asp:Label runat="server" ID="lblassType_add" Text="Review Type" /&gt;
              &lt;/th&gt;
              &lt;th style="width: 20%; text-align: left"&gt;
                  &lt;asp:Label runat="server" ID="lblrelatedCISE" Text="Related CISE" /&gt;
              &lt;/th&gt;
          &lt;/tr&gt;
          &lt;tr class="altRow"&gt;
              &lt;td align="left"&gt;
                  &lt;asp:TextBox runat="server" ID="txtlocationName_add" Text="" Width="85%" MaxLength="200" /&gt;
                  &lt;br /&gt;
                  &lt;asp:RequiredFieldValidator runat="server" ID="vallocationName_add" ControlToValidate="txtlocationName_add"
                      ErrorMessage="Location Name Required" Font-Bold="true" ForeColor="Red" Display="Dynamic" /&gt;
              &lt;/td&gt;
              &lt;td align="left"&gt;
                  &lt;asp:DropDownList runat="server" ID="ddlassTypeId_add" DataTextField="assType" DataValueField="assTypeId"
                      Width="85%" /&gt;
                  &lt;br /&gt;
                  &lt;asp:RequiredFieldValidator ID="valddlassTypeId_add" runat="server" ControlToValidate="ddlassTypeId_add"
                      InitialValue="-1" Display="Dynamic" ErrorMessage="Required" Font-Bold="true"
                      ForeColor="Red" /&gt;
              &lt;/td&gt;
              &lt;td align="left"&gt;
                  &lt;asp:DropDownList runat="server" ID="ddlrelatedCISE_add" DataTextField="assType"
                      DataValueField="assTypeId" Width="85%" /&gt;
                  &lt;br /&gt;
                  &lt;asp:RequiredFieldValidator ID="valddlrelatedCISE_add" runat="server" ControlToValidate="ddlrelatedCISE_add"
                      InitialValue="-1" Display="Dynamic" ErrorMessage="Required" Font-Bold="true"
                      ForeColor="Red" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;th style="text-align: left"&gt;
                  &lt;asp:Label runat="server" ID="lblvendorLocationTypeId_add" Text="Site Type" /&gt;
              &lt;/th&gt;
              &lt;th style="text-align: left; font-weight: normal"&gt;
                  &lt;asp:Label runat="server" ID="lbllocationDesc_add" Text="Site Description" /&gt;
              &lt;/th&gt;
              &lt;th style="text-align: left; font-weight: normal"&gt;
                  &lt;asp:Label runat="server" ID="lblcancelled_add" Text="Site Cancelled" /&gt;
              &lt;/th&gt;
          &lt;/tr&gt;
          &lt;tr class="altRow"&gt;
              &lt;td valign="top" align="left"&gt;
                  &lt;asp:DropDownList runat="server" ID="ddlvendorLocationTypeId_add" DataTextField="vendorLocationType"
                      DataValueField="vendorLocationTypeId" Width="85%" /&gt;
                  &lt;br /&gt;
                  &lt;asp:RequiredFieldValidator ID="valddlvendorLocationTypeId_add" runat="server" ControlToValidate="ddlvendorLocationTypeId_add"
                      InitialValue="0" Display="Dynamic" ErrorMessage="Required" Font-Bold="true" ForeColor="Red" /&gt;
              &lt;/td&gt;
              &lt;td align="left"&gt;
                  &lt;asp:TextBox runat="server" ID="txtlocationDesc_add" Text="" TextMode="MultiLine"
                      MaxLength="500" Rows="4" Width="85%" /&gt;
                  &lt;br /&gt;
                  &lt;asp:CustomValidator ID="valtxtlocationDesc_add" runat="server" ErrorMessage="Max length of Location Desc exceeded 500 characters."
                      Font-Strikeout="False" ControlToValidate="txtlocationDesc_add" SetFocusOnError="True"
                      OnServerValidate="MaxLengthTest" Font-Bold="True" Display="Dynamic"&gt;&lt;/asp:CustomValidator&gt;
              &lt;/td&gt;
              &lt;td valign="top" align="left"&gt;
                  &lt;asp:CheckBox runat="server" ID="chbcancelled_add" Text="Site Cancelled" AutoPostBack="False"
                      CssClass="ispaCheckBoxes" Font-Bold="false" Width="85%" onclick="ToggleCancelledWarning();" /&gt;
                  &lt;br /&gt;
                  &lt;asp:Label ID="lblCancelledReason_add" runat="server" Text="Reason for Cancellation" /&gt;
                  &lt;br /&gt;
                  &lt;asp:TextBox ID="txtCancelledReason_add" runat="server" Text="" TextMode="MultiLine"
                      Rows="3" Width="85%" onchange="ToggleCancelledWarning();" /&gt;
                  &lt;br /&gt;
                  &lt;asp:CustomValidator ID="valtxtCancelledReason_add" runat="server" ErrorMessage="Max length of Reason exceeded 500 characters."
                      Font-Strikeout="False" ControlToValidate="txtCancelledReason_add" SetFocusOnError="True"
                      OnServerValidate="MaxLengthTest" Font-Bold="True" Display="Dynamic"&gt;&lt;/asp:CustomValidator&gt;
                  &lt;br /&gt;
                  &lt;asp:Label runat="server" ID="lblCancelledReasonWarning" Text="" Font-Bold="true"
                      ForeColor="Red" Visible="true" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;th style="text-align: left"&gt;
                  &lt;asp:Label runat="server" ID="lblsiteScopeId_add" Text="Site Scope" /&gt;
              &lt;/th&gt;
              &lt;th style="text-align: left; font-weight: normal"&gt;
                  &lt;asp:Label runat="server" ID="lblapplicationName_add" Text="Application Name" /&gt;
              &lt;/th&gt;
              &lt;th style="text-align: left; font-weight: normal"&gt;
                  &lt;asp:Label runat="server" ID="lblapplicationURL_add" Text="Application URL" /&gt;
              &lt;/th&gt;
          &lt;/tr&gt;
          &lt;tr class="altRow"&gt;
              &lt;td valign="top" align="left"&gt;
                  &lt;asp:DropDownList runat="server" ID="ddlsiteScopeId_add" DataTextField="siteScopeName"
                      DataValueField="siteScopeId" Width="85%" /&gt;
                  &lt;br /&gt;
                  &lt;asp:RequiredFieldValidator ID="valddlsiteScopeId_add" runat="server" ControlToValidate="ddlsiteScopeId_add"
                      InitialValue="0" Display="Dynamic" ErrorMessage="Required" Font-Bold="true" ForeColor="Red" /&gt;
              &lt;/td&gt;
              &lt;td align="left"&gt;
                  &lt;asp:TextBox runat="server" ID="txtapplicationName_add" Text="" Width="85%" MaxLength="100" /&gt;
              &lt;/td&gt;
              &lt;td align="left"&gt;
                  &lt;asp:TextBox runat="server" ID="txtapplicationURL_add" Text="" Width="85%" MaxLength="100" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;th style="text-align: left"&gt;
                  &lt;asp:Label runat="server" ID="lblvendorStreet_add" Text="Street" /&gt;
              &lt;/th&gt;
              &lt;th style="text-align: left"&gt;
                  &lt;asp:Label runat="server" ID="lblvendorCity_add" Text="City" /&gt;
              &lt;/th&gt;
              &lt;th style="text-align: left; font-weight: normal"&gt;
                  &lt;asp:Label runat="server" ID="lblvendorZip_add" Text="Zip" /&gt;
              &lt;/th&gt;
          &lt;/tr&gt;
          &lt;tr class="altRow"&gt;
              &lt;td align="left"&gt;
                  &lt;asp:TextBox runat="server" ID="txtvendorStreet_add" Text="" Width="85%" MaxLength="100" /&gt;
                  &lt;br /&gt;
                  &lt;asp:RequiredFieldValidator ID="valtxtvendorStreet_add" runat="server" ControlToValidate="txtvendorStreet_add"
                      Display="Dynamic" ErrorMessage="Required" Font-Bold="true" ForeColor="Red" /&gt;
              &lt;/td&gt;
              &lt;td align="left"&gt;
                  &lt;asp:TextBox runat="server" ID="txtvendorCity_add" Text="" Width="85%" MaxLength="100" /&gt;
                  &lt;br /&gt;
                  &lt;asp:RequiredFieldValidator ID="valtxtvendorCity_add" runat="server" ControlToValidate="txtvendorCity_add"
                      Display="Dynamic" ErrorMessage="Required" Font-Bold="true" ForeColor="Red" /&gt;
              &lt;/td&gt;
              &lt;td align="left"&gt;
                  &lt;asp:TextBox runat="server" ID="txtvendorZip_add" Text="" Width="85%" MaxLength="20" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;th style="text-align: left; font-weight: normal"&gt;
                  &lt;asp:Label runat="server" ID="lblvendorProvidence_add" Text="Providence" /&gt;
              &lt;/th&gt;
              &lt;th style="text-align: left; font-weight: normal"&gt;
                  &lt;asp:Label runat="server" ID="lblstateId_add" Text="State" /&gt;
              &lt;/th&gt;
              &lt;th style="text-align: left"&gt;
                  &lt;asp:Label runat="server" ID="lblcountryId_add" Text="Country" /&gt;
              &lt;/th&gt;
          &lt;/tr&gt;
          &lt;tr class="altRow"&gt;
              &lt;td align="left"&gt;
                  &lt;asp:TextBox runat="server" ID="txtvendorProvidence_add" Text="" Width="85%" MaxLength="100" /&gt;
              &lt;/td&gt;
              &lt;td align="left"&gt;
                  &lt;asp:DropDownList ID="ddlstateId_add" runat="server" Width="85%" DataTextField="stateAbbv"
                      DataValueField="stateId" /&gt;
              &lt;/td&gt;
              &lt;td align="left"&gt;
                  &lt;asp:DropDownList runat="server" ID="ddlcountryId_add" DataTextField="countryName"
                      DataValueField="countryId" Width="85%" /&gt;
                  &lt;br /&gt;
                  &lt;asp:RequiredFieldValidator ID="valddlcountryId_add" runat="server" ControlToValidate="ddlcountryId_add"
                      InitialValue="0" Display="Dynamic" ErrorMessage="Required" Font-Bold="true" ForeColor="Red" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;th style="text-align: left; font-weight: normal"&gt;
                  &lt;asp:Label runat="server" ID="lblfieldAssessorUsrId_add" Text="Assign Field Assessor" /&gt;
              &lt;/th&gt;
              &lt;th style="text-align: left; font-weight: normal"&gt;
                  &lt;asp:Label runat="server" ID="lblreviewStartDate_add" Text="Arrive On" /&gt;
              &lt;/th&gt;
              &lt;th style="text-align: left; font-weight: normal"&gt;
                  &lt;asp:Label runat="server" ID="lblreviewEndDate_add" Text="Depart On" /&gt;
              &lt;/th&gt;
          &lt;/tr&gt;
          &lt;tr class="altRow"&gt;
              &lt;td align="left"&gt;
                  &lt;asp:DropDownList runat="server" ID="ddlfieldAssessorUsrId_add" DataTextField="usrFullName"
                      DataValueField="usrID" Width="85%" /&gt;
              &lt;/td&gt;
              &lt;td style="vertical-align: text-top; text-align: left"&gt;
                  &lt;telerik:RadDatePicker runat="server" ID="dtereviewStartDate_add" Calendar-EnableMultiSelect="False"
                      Calendar-EnableMonthYearFastNavigation="True" Width="85%" /&gt;
              &lt;/td&gt;
              &lt;td style="vertical-align: text-top; text-align: left"&gt;
                  &lt;telerik:RadDatePicker runat="server" ID="dtereviewEndDate_add" Calendar-EnableMultiSelect="False"
                      Calendar-EnableMonthYearFastNavigation="True" Width="85%" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td colspan="3" style="text-align: left"&gt;
                  &lt;asp:LinkButton ID="lnkBtnAdd_add" runat="server" Text="Insert New" CommandName="EmptyInsert"
                      CausesValidation="True"&gt;&lt;/asp:LinkButton&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/InsertItemTemplate&gt;
  </code></pre>