Rank: Newbie Groups: Member
Joined: 8/27/2007 Posts: 5
|
Hi,
The license page states that EO.Web.Runtime.AddLicense should be called from the Global's Application_Start event handler.
This is not practical as the we only use the webcontrols in our admin pages, we don't want to load the webcontrols in our general pages. Can we just call AddLicense in the page load on the page where we actually use the controls ? Does it matter the AddLicense is called multiple times with the same license key ?
Lex
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi Lex,
It does not matter to call AddLicense multiple times, you can call them anywhere (including Page_Load) as soon as it's before PreRender. You can use a static variable to mark whether it has already been called as it only needs to be called once.
Thanks
|