or
| public void RadGrid_Saved(object sender, GridInsertedEventArgs e) |
| { |
| if (e.Exception != null) |
| { |
| e.KeepInInsertMode = true; |
| if (e.Exception.InnerException is ORMEntityValidationException) |
| e.ExceptionHandled = true; |
| } |
| } |
<XAxis DataLabelsField="ReceivedDate" Step="7"><telerik:RadGrid ID="dgData" runat="server" AllowFilteringByColumn="true" AllowSorting="True" AutoGenerateColumns="True" Skin="Web20" PageSize="500" GridLines="None" Width="945px" AllowPaging="True" TabIndex="-1" EnableEmbeddedSkins="true" OnBiffExporting="RadGrid_BiffExporting" Visible="false" HeaderStyle-Wrap="false"> <PagerStyle Position="Bottom" Mode="NumericPages" PageButtonCount="10" AlwaysVisible="true" /> <ClientSettings> <Scrolling AllowScroll="True" ScrollHeight="350px" UseStaticHeaders="true"></Scrolling> <Resizing ResizeGridOnColumnResize="True" ClipCellContentOnResize="False" /> </ClientSettings> <MasterTableView AllowMultiColumnSorting="True" EnableNoRecordsTemplate="False" GridLines="Vertical" DataKeyNames="ID"> </MasterTableView></telerik:RadGrid>
