ComponentOne Calendar for ASP.NET: ComponentOne Calendar for ASP.NET AJAX Overview > Licensing FAQs > Common Scenarios in Mobile Applications > Instantiating a Mobile control at run time

Instantiating a Mobile control at run time

The Mobile controls behave the same way as other ComponentOne controls when they are created at run time and not placed on the form at design time. Because the IDE does not have an opportunity to obtain a run-time license on its own in this case, it is necessary to force the IDE to include a run-time license. To accomplish this, include at least one instance of the control on a form in the assembly that is instantiated BEFORE the dynamically created instance is created. Once a control of the same type is licensed, all others on the form are accepted as licensed.

Send comments about this topic to ComponentOne.
Copyright 1987-2010 ComponentOne LLC. All rights reserved.