Session_Start()

Expand / Collapse
 

Session_Start()


Session_Start()

This code sample turns on the customization capabilities by setting the license key and connection string in the Session_Start(). This must be done in order to allow any other custom code to run.
void Session_Start(object sender, EventArgs e) 
{
    Izenda.AdHoc.AdHocSettings.LicenseKey = "Some License Key";
    Izenda.AdHoc.AdHocSettings.SqlServerConnectionString = "Some Connection String";
    Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig();
}


Details
Type: FAQ
Options