Hi,
This may sound odd but when I assign a OnCommand handler to a RadGrid, either in the code behind or declaratively, the default no record template is not shown when I bind to an empty data source. I tried a few other ClientSettings, none of them caused the same issue.
My RadGrid is nothing special. Here is one I can reproduce the issue with.
Any Ideas?
This may sound odd but when I assign a OnCommand handler to a RadGrid, either in the code behind or declaratively, the default no record template is not shown when I bind to an empty data source. I tried a few other ClientSettings, none of them caused the same issue.
My RadGrid is nothing special. Here is one I can reproduce the issue with.
| <rad:RadGrid ID="ReasonsGrid" EnableAjax="true" runat="server" Skin="Default" GridLines="None" |
| AllowAutomaticUpdates="False" AllowMultiRowEdit="False" DataSourceID="ReasonsDataSource"> |
| <ClientSettings> |
| <ClientEvents OnCommand="Grid_OnCommandHandler" /> |
| </ClientSettings> |
| <MasterTableView AutoGenerateColumns="False" DataKeyNames="Applicationreasonid"> |
| <Columns> |
| <rad:GridBoundColumn DataField="ReasonTypeString" HeaderText="Type" SortExpression="Type" |
| UniqueName="Type" Visible="True" ReadOnly="true"> |
| </rad:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| </rad:RadGrid> |
Any Ideas?