Hello,
I have a RadGrid with a simple definition, automaticinsert and update allowed:
Everything works fine till RadAjaxManager is added:
Then I get client error:
"Line: 6
Error: Sys.WebForms.PageRequestManagerServerErrorException: Exception has been thrown by the target of an invocation."
Insert works fine. This problem occured on all my grids.
How to find the problem? Thank you
I have a RadGrid with a simple definition, automaticinsert and update allowed:
| <telerik:RadGrid ID="MainGrid" runat="server" SkinID="Admin" AllowPaging="True" AllowAutomaticInserts="True" |
| AllowAutomaticUpdates="True" DataSourceID="ObjectDataSourceMain"> |
| <MasterTableView DataKeyNames="Id"> |
| <Columns> |
| <telerik:GridBoundColumn HeaderText="Název katalogu" DataField="Name"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn HeaderText="Rok" DataField="Year"> |
| </telerik:GridBoundColumn> |
| <telerik:GridCheckBoxColumn HeaderText="Aktivní" DataField="IsActive"> |
| </telerik:GridCheckBoxColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
| <asp:ObjectDataSource ID="ObjectDataSourceMain" runat="server" OldValuesParameterFormatString="Original_{0}" |
| SelectMethod="GetCatalogs" UpdateMethod="UpdateCatalog" InsertMethod="CreateCatalog" |
| TypeName="Kooperativa.KoopObchod.Facade.ProductFacade"> |
| <UpdateParameters> |
| </UpdateParameters> |
| <InsertParameters> |
| </InsertParameters> |
| </asp:ObjectDataSource> |
Everything works fine till RadAjaxManager is added:
| <telerik:RadScriptManager ID="RadScriptManager" runat="server" /> |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="MainGrid"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="MainGrid" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
Then I get client error:
"Line: 6
Error: Sys.WebForms.PageRequestManagerServerErrorException: Exception has been thrown by the target of an invocation."
Insert works fine. This problem occured on all my grids.
How to find the problem? Thank you