|
-
May 25th, 1999, 04:12 AM
#1
UserControl.Extender.Top and .Left
Hi
I'm writing a control, which has an X and an Y property. What I want to do, is when these values are 0, that I fill them with the UserControl.Extender.Top and .Left values. But, these values are not available at runtime, so I can't get them in the method where I need to use them.
I'm currently getting these values in the ReadProperties event, but this is actually a bit earlier then I want.
Does anyone knows a better place to get these values?
Tnx in advance
Crazy D :-)
-
June 3rd, 1999, 08:45 PM
#2
Re: UserControl.Extender.Top and .Left
Those properties become available to the UserControl at some point in the control's initialization. If you try to query them in the UserControl_Initialize event, you'll get an error. However, they are available in the UserControl_Show event, because at that point in time the client site has been set up. This might be a solution to your problem.
-
June 3rd, 1999, 08:45 PM
#3
Re: UserControl.Extender.Top and .Left
Those properties become available to the UserControl at some point in the control's initialization. If you try to query them in the UserControl_Initialize event, you'll get an error. However, they are available in the UserControl_Show event, because at that point in time the client site has been set up. This might be a solution to your problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|