Hi! I'm trying to make a radgrid with explicit defined columns. I've tried setting the AutoGenerateColumns property of the radgrid to false, but it won't show anything. This is my code
<telerik:RadGrid ID="rdContainers" runat="server" AutoGenerateColumns="false" OnNeedDataSource="fnGetScanContainers" AllowFilteringByColumn="True" Width="91%"> <telerik:MasterTableView TableLayout="Fixed"> <HeaderStyle Width="102px" /> <Columns> <telerik:GridBoundColumn DataField="ContainerID" HeaderText="Container ID" SortExpression="ContainerID" UniqueName="gcContainerID" FilterControlWidth="60px"> <HeaderStyle Width="170px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Location" HeaderText="Location" UniqueName="gcLocation" FilterControlWidth="60px"> <HeaderStyle Width="115px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="PartNumber" HeaderText="Part Number" UniqueName="gcPartNumber" FilterControlWidth="60px"> <HeaderStyle Width="115px" /> </telerik:GridBoundColumn> </telerik:MasterTableView> <ClientSettings EnableRowHoverStyle="true"> <Selecting AllowRowSelect="true" EnableDragToSelectRows="false" /> <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="" /> </ClientSettings></telerik:RadGrid>
