Hi,
Is it possible to add a footer to a GridBoundColumn without turning it into an item template.
i want to add a button to the footer of a radGrid. I'd like to have it under the right most column, but don't want to have to convert the contents of the column to an item template, is this possible, and if so, how do I do it?
The code below is a snippet from the grid I'd like to add the footer to. If possible I'd like the button to appear under the FirstName column.
Thanks,
Peter
Is it possible to add a footer to a GridBoundColumn without turning it into an item template.
i want to add a button to the footer of a radGrid. I'd like to have it under the right most column, but don't want to have to convert the contents of the column to an item template, is this possible, and if so, how do I do it?
The code below is a snippet from the grid I'd like to add the footer to. If possible I'd like the button to appear under the FirstName column.
| <telerik:RadGrid ID="grvLandlords" runat="server" AutoGenerateColumns="False" DataSourceID="SqlLandlord" GridLines="None" |
| Skin="Office2007" OnSelectedIndexChanged="grvLandlords_SelectedIndexChanged" OnItemDataBound="grvLandlords_ItemDataBound" > |
| <MasterTableView ShowFooter="true" DataKeyNames="LandlordID" DataSourceID="SqlLandlord"> |
| <Columns> |
| <telerik:GridButtonColumn CommandName="Select" Text="Select" UniqueName="Select"> |
| </telerik:GridButtonColumn> |
| <telerik:GridBoundColumn DataField="LandlordID" DataType="System.Int32" HeaderText="LandlordID" |
| ReadOnly="True" SortExpression="LandlordID" UniqueName="LandlordID" Visible="false"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Title" HeaderText="Title" SortExpression="Title" |
| UniqueName="Title"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" SortExpression="FirstName" |
| UniqueName="FirstName"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
Thanks,
Peter