View previous topic :: View next topic |
Author |
Message |
ozden
Joined: 31 Oct 2005 Posts: 8
|
Posted: Wed Apr 05, 2006 2:50 pm Post subject: Copy/Paste controls causes licensed control to show nag? |
|
|
Hello,
When you copy/paste a licensed control in a form/user control it shows the run-time nag screen?
Can you help as it might annoy our licensed customers...
Thanks,
Ă–zden Irmak |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Apr 05, 2006 11:51 pm Post subject: |
|
|
The sample licensed control project had this issue prior to version 2.1.4. So if you based your licensing code on sample code from an earlier version you should download and install the latest version and use the code from the sample as a starting point.
The problem arises because when you copy and paste the current LicenseContext used by Visual Studio is not a design context. That means the runtime checks are exectuted. The modified sample code sets a flag to indicated whether the license has been checked for the current application thus avoiding the issue. _________________ Infralution Support |
|
Back to top |
|
|
|