Hi All,
I have the following grid declaration bound in the code-behind file:
However, I don't want to be able to refresh the grid or insert a new item. Is there a way of turning these off so the grid is just a series of bound columns with nothing else?
Thanks in advance.
I have the following grid declaration bound in the code-behind file:
| <radg:radgrid skin="Windows" enableajax="true" onneeddatasource="grdBookingClients_NeedDataSource" |
| gridlines="None" id="grdBookingClients" runat="server" enableajaxloadingtemplate="True" |
| loadingtemplatetransparency="10" showstatusbar="true" autogeneratecolumns="False" |
| ondeletecommand="grdBookingClients_DeleteCommand"> |
| <MasterTableView CommandItemDisplay="Top" DataKeyNames="BookingClientID" Name="BookingClient"> |
| <Columns> |
| <radG:GridBoundColumn HeaderText="Title" UniqueName="Title" DataField="Title"></radG:GridBoundColumn> |
| <radG:GridBoundColumn HeaderText="Forename" UniqueName="Forename" DataField="Forename"></radG:GridBoundColumn> |
| <radG:GridBoundColumn HeaderText="Surname" UniqueName="Surname" DataField="Surname"></radG:GridBoundColumn> |
| <radG:GridButtonColumn ButtonType="ImageButton" ConfirmText="Are you sure you want to delete this record?" CommandName="Delete" ImageUrl="./images/DataEditing/Delete.gif" Text="Delete" UniqueName="DeleteRecord"> |
| </radG:GridButtonColumn> |
| </Columns> |
| <ExpandCollapseColumn Resizable="False"> |
| <HeaderStyle Width="20px" /> |
| </ExpandCollapseColumn> |
| <RowIndicatorColumn Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| </MasterTableView> |
| <ExportSettings> |
| <Pdf PageBottomMargin="" PageFooterMargin="" PageHeaderMargin="" PageHeight="11in" |
| PageLeftMargin="" PageRightMargin="" PageTopMargin="" PageWidth="8.5in" /> |
| </ExportSettings> |
| </radg:radgrid> |
However, I don't want to be able to refresh the grid or insert a new item. Is there a way of turning these off so the grid is just a series of bound columns with nothing else?
Thanks in advance.