title: Add new record to Telerik RadGrid
body: <p>I have the following Telerik RadGrid, which I'm using in C#:</p>
  
  <pre><code>&lt;MasterTableView Width="100%" EditMode= "InPlace" ClientDataKeyNames="menuID" CommandItemDisplay= "Top"&gt;
      &lt;Columns&gt;
          &lt;telerik:GridBoundColumn DataField="Name" HeaderText="Name" SortExpression="Name" UniqueName="Name"&gt;&lt;/telerik:GridBoundColumn&gt;
          &lt;telerik:GridTemplateColumn UniqueName="Type" HeaderText="Type"&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:TextBox ID="Type" Text='&lt;%# DataBinder.Eval(Container.DataItem, "Type") %&gt;' runat="server"&gt;&lt;/asp:TextBox&gt;
              &lt;/ItemTemplate&gt;
              &lt;EditItemTemplate&gt;
              &lt;/EditItemTemplate&gt;
          &lt;/telerik:GridTemplateColumn&gt;
          &lt;telerik:GridTemplateColumn UniqueName="List" HeaderText="List"&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:CheckBox ID="List" runat="server" Checked='&lt;%# DataBinder.Eval(Container.DataItem, "List") %&gt;' /&gt;
              &lt;/ItemTemplate&gt;
              &lt;EditItemTemplate&gt;
              &lt;/EditItemTemplate&gt;
          &lt;/telerik:GridTemplateColumn&gt;
          &lt;telerik:GridTemplateColumn UniqueName="loadAtStart" HeaderText="loadAtStart"&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:CheckBox ID="loadAtStart" runat="server" Checked='&lt;%# DataBinder.Eval(Container.DataItem, "loadAtStart") %&gt;' /&gt;
              &lt;/ItemTemplate&gt;
              &lt;EditItemTemplate&gt;
              &lt;/EditItemTemplate&gt;
          &lt;/telerik:GridTemplateColumn&gt;
      &lt;/Columns&gt;
  &lt;/MasterTableView&gt;
  </code></pre>
  
  <p>The grid is populated with data, and working normally when editing the data. </p>
  
  <p>But when I click on the Add New Record button provided by Telerik, then an empty row is added without any TextBox or CheckBox in the columns to edit in the new Row added. It's just an empty row. I presume that I have to create the controls dynamically in the called ItemDataBound event, but I didn't manage to find the actual code for this.</p>
  
  <p>How do I solve this?</p>