title: How to access template column controls at the time of "Add New Record" click in telerik
body: <p>My Telerik:RadGrid tag :</p>
  
  <pre><code>&lt;telerik:RadGrid ID="grdSettlement" runat="server" AllowFilteringByColumn="True"
      DataSourceID="SqlDataSource1" AllowAutomaticDeletes="True" AllowAutomaticUpdates="True"
      AllowAutomaticInserts="true" OnInsertCommand="grdSettlement_InsertCommand"&gt;
  </code></pre>
  
  <p>My Columns :</p>
  
  <pre><code>&lt;telerik:GridTemplateColumn DataField="NO" FilterControlAltText="Filter NO column"
                  HeaderText="NO" SortExpression="NO" UniqueName="NO" DataType="System.Int64"&gt;
                  &lt;InsertItemTemplate&gt;
                      &lt;telerik:RadNumericTextBox runat="server" ID="No"&gt;
                      &lt;/telerik:RadNumericTextBox&gt;
                  &lt;/InsertItemTemplate&gt;
                  &lt;ItemTemplate&gt;
                      &lt;%# Eval("NO") %&gt;
                  &lt;/ItemTemplate&gt;
              &lt;/telerik:GridTemplateColumn&gt;
  </code></pre>
  
  <p>C# code to access that :</p>
  
  <pre><code>protected void grdSettlement_InsertCommand(object source, GridItemEventArgs e)
  {
      ((e.Item as GridEditableItem)["NO"].Controls[0] as TextBox).Text = "007";
  }
  </code></pre>
  
  <p>I can Write that some codes but there are give me a Compilation Error...
  Help me to Solve this...</p>