Click here to Skip to main content
14,735,693 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here my code
  <telerik:RadGrid ID="gdComponent" AutoGenerateColumns="false"  runat="server"

MasterTableView-DataKeyNames="InqCompDetailId" PagerStyle-AlwaysVisible="true" GridLines="Vertical">
<telerik:GridBoundColumn DataField="InqCompDetailId" Visible="false" HeaderText=""

SortExpression="InqCompDetailId" UniqueName="InqCompDetailId">
<HeaderStyle Width="5%" HorizontalAlign="Left" />
<telerik:GridBoundColumn DataField="ItemName" HeaderText="Item Name"

SortExpression="ItemName" UniqueName="ItemName">
<HeaderStyle Width="5%" HorizontalAlign="Left" />
<telerik:GridTemplateColumn ItemStyle-Width="5%">
<HeaderTemplate>Knit min per comp</HeaderTemplate>
<asp:TextBox ID="txtMinPerCom" Height="25px" CommandName="View" runat="server" AutoCompleteType="None" Text='' ClientIDMode="Static" CssClass="form-control" Font-Size="Smaller"></asp:TextBox>

If i remove txtMinPerCom gridview works well. If I add this Textbox my grid headers are missing and all data comes in one row. Please help

What I have tried:

add textbox to telerik grid
Updated 28-Feb-16 21:04pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900