title: Telerik Radgrid How to add textbox column from code behind?
body: <p>I am adding columns to RadGrid from code behind. In NeedDataSource event, I am binding a DataTable(with 10 columns) to the radgrid.<br>
  Everything's working well till here. But I would like to have text boxes in 2 columns(on load itself, not just in edit mode). </p>
  
  <pre><code>&lt;telerik:RadGrid ID="RadGrid1" runat="server" ShowHeader="true" 
          OnNeedDataSource="RadGrid1_NeedDataSource" OnPreRender="RadGrid1_PreRender"
          AutoGenerateColumns="true" &gt;
          &lt;MasterTableView&gt;
          &lt;/MasterTableView&gt;
  &lt;/telerik:RadGrid&gt;
  </code></pre>
  
  <p>If done declarative, the column definition shall be like this. But I want it accomplished from code behind.</p>
  
  <pre><code>&lt;telerik:GridTemplateColumn HeaderText="Qty"&gt;
                  &lt;ItemTemplate&gt;
                      &lt;input id="&lt;%# this.GetUniqueId("Qty", Container.DataItem)%&gt;" name="&lt;%# this.GetUniqueId("Qty", Container.DataItem)%&gt;" type="text" value="&lt;%# Eval("Quantity")%&gt;" size="2" maxlength="3"  /&gt;
                  &lt;/ItemTemplate&gt;
  &lt;/telerik:GridTemplateColumn&gt;
  </code></pre>