Hello !
I try to display into a radGrid some fields from a table. It works only with aspGridView... I suppose that I make some mistakes. Here is my code :
<telerik:RadGrid ID="rgBookingTables" runat="server" AllowPaging="true"
AllowSorting="true" AutoGenerateColumns="false" PageSize="15" Skin="Web20">
<MasterTableView DataKeyNames="BookingID">
<DetailTables>
<telerik:GridTableView runat="server">
<Columns>
<telerik:GridBoundColumn HeaderText="Booking no" DataField="BookingID" Visible="true" ReadOnly="true"></telerik:GridBoundColumn>
</Columns>
</telerik:GridTableView>
</DetailTables>
</MasterTableView>
</telerik:RadGrid>
rgBookingTables.DataSource = db.BookingTables;
rgBookingTables.DataBind();
Thanks !
I try to display into a radGrid some fields from a table. It works only with aspGridView... I suppose that I make some mistakes. Here is my code :
<telerik:RadGrid ID="rgBookingTables" runat="server" AllowPaging="true"
AllowSorting="true" AutoGenerateColumns="false" PageSize="15" Skin="Web20">
<MasterTableView DataKeyNames="BookingID">
<DetailTables>
<telerik:GridTableView runat="server">
<Columns>
<telerik:GridBoundColumn HeaderText="Booking no" DataField="BookingID" Visible="true" ReadOnly="true"></telerik:GridBoundColumn>
</Columns>
</telerik:GridTableView>
</DetailTables>
</MasterTableView>
</telerik:RadGrid>
rgBookingTables.DataSource = db.BookingTables;
rgBookingTables.DataBind();
Thanks !