Hi,
I am using the RadGrid from "RadControls for ASP.NET AJAX Q3 2012" in sharepoint 2010 visual webpart.
I am trying to insert/update items in grid.
I used the below code:
When I click on "Add New Item", the Product number and the description textbox are shown vertically. How to show the textbox's in horizontal way as available in the grid.
Thanks
I am using the RadGrid from "RadControls for ASP.NET AJAX Q3 2012" in sharepoint 2010 visual webpart.
I am trying to insert/update items in grid.
I used the below code:
<MasterTableView DataKeyNames="Title" AutoGenerateColumns="false" CommandItemDisplay="TopAndBottom" CommandItemSettings-AddNewRecordText="Add New Item" > <Columns> <telerik:GridTemplateColumn DataField="Title" HeaderText="Product Number" UniqueName="ProductNumber" Visible="true"> <InsertItemTemplate> <telerik:RadTextBox ID="RadtxtPrdNumber" runat="server" Text='<%# Bind("Title") %>' > </telerik:RadTextBox> </InsertItemTemplate> <EditItemTemplate> <telerik:RadTextBox ID="RadtxtPrdNumber" runat="server" Text='<%# Eval("Title") %>' > </telerik:RadTextBox> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn DataField="Description" HeaderText="Description" UniqueName="Description"Visible="true"> <InsertItemTemplate> <telerik:RadTextBox ID="RadtxtDescription" runat="server" Text='<%# Bind("Description") %>' > </telerik:RadTextBox> </InsertItemTemplate> <EditItemTemplate> <telerik:RadTextBox ID="RadtxtDescription" runat="server" Text='<%# Eval("Description") %>' > </telerik:RadTextBox> </EditItemTemplate> </telerik:GridTemplateColumn> </Columns> </MasterTableView>When I click on "Add New Item", the Product number and the description textbox are shown vertically. How to show the textbox's in horizontal way as available in the grid.
Thanks