Welcome Guest Search | Active Topics | Sign In | Register

Where to call EO.Web.Runtime.AddLicense Options
Lex
Posted: Tuesday, September 4, 2007 4:17:38 AM
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

eo_support
Posted: Tuesday, September 4, 2007 6:14:58 AM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.