FAQ/PreLoadReportSet.md
... ...
@@ -0,0 +1,24 @@
1
+#PreLoadReportSet()
2
+
3
+[[_TOC_]]
4
+
5
+##About
6
+
7
+This method runs immediately prior to LoadReportSet and can be used to perform operations that must precede the loading of report XML and initialization of the ReportSet object. You can define its behavior by overriding it in your CustomAdHocConfig, usually contained in the global.asax.
8
+
9
+##Sample C♯ Method
10
+
11
+```csharp
12
+public override void PreLoadReportSet(string name)
13
+{
14
+ //perform any operations that must be executed prior to loading the ReportSet
15
+}
16
+```
17
+
18
+##Sample VB.NET Method
19
+
20
+```visualbasic
21
+Public Overrides Sub PreLoadReportSet(name As String)
22
+ 'perform any operations that must be executed prior to loading the ReportSet
23
+End Sub
24
+```