Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event for .net control similar foxpro object Init() event
Message
From
29/10/2009 10:18:18
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Event for .net control similar foxpro object Init() event
Miscellaneous
Thread ID:
01432201
Message ID:
01432201
Views:
107
Hi,
My question maybe is stupid :)) but I can't find event for control like FoxPro object Init event :)) sorry..

I try to explain.
I wrote some code into baseclass of control. This code must be executed when control initialized.. and ONLY in RUNTIME.. not at design time

So.. if I put code to Sub New() - this code always executed in runtime and designtime because DesignMode for control inside Sub New() is always false. (even if I open it in IDE)
So I need to find possiblity to start a code when control initializing and only in DesignMode = false

Thanks for help
Denis
Next
Reply
Map
View

Click here to load this message in the networking platform