File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Blazor/Reporting_ObjectDS_Blazor
WebForms/CS/Reporting_ObjectDS_WebForms Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public void ConfigureServices(IServiceCollection services)
3535 {
3636 designerConfigurator . RegisterObjectDataSourceWizardTypeProvider < ObjectDataSourceWizardCustomTypeProvider > ( ) ;
3737 } ) ;
38+ DevExpress . Utils . DeserializationSettings . RegisterTrustedClass ( typeof ( EmployeeList ) ) ;
3839 } ) ;
3940 }
4041
Original file line number Diff line number Diff line change 22using System . IO ;
33using System . Web ;
44using DevExpress . XtraReports . Web ;
5+ using Reporting_ObjectDS_WebForms . Employees ;
56using Reporting_ObjectDS_WebForms . Services ;
67
78namespace Reporting_ObjectDS_WebForms {
89 public class Global_asax : System . Web . HttpApplication {
910 void Application_Start ( object sender , EventArgs e ) {
1011 System . Web . Routing . RouteTable . Routes . MapPageRoute ( "defaultRoute" , "" , "~/Default.aspx" ) ;
12+ DevExpress . Utils . DeserializationSettings . RegisterTrustedClass ( typeof ( EmployeeList ) ) ;
1113 DevExpress . XtraReports . Configuration . Settings . Default . UserDesignerOptions . DataBindingMode = DevExpress . XtraReports . UI . DataBindingMode . Expressions ;
1214 DevExpress . XtraReports . Web . WebDocumentViewer . Native . WebDocumentViewerBootstrapper . SessionState = System . Web . SessionState . SessionStateBehavior . Default ;
1315 DevExpress . XtraReports . Web . QueryBuilder . Native . QueryBuilderBootstrapper . SessionState = System . Web . SessionState . SessionStateBehavior . Default ;
You can’t perform that action at this time.
0 commit comments