Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form is shown white and then it turns to normal color
Message
 
To
03/09/2004 10:56:10
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00939128
Message ID:
00939220
Views:
10
Wilson;

Are you using Winforms or Webforms? How fast is your CPU? I have had a similar problem with ASP.NET Webforms. The first time through takes a noticeable hit in time before the objects on the form instantiate, and the succeeding times I instantiate this form it fires almost instantly. I do not have the solution but I am a “member of the club”! :)

Tom

>I made a custom control and place it in a form.
>
>when i run my app the form backcolor is white and then paints to the normal control.
>
>If i delete the custom control from the form the form is shown normal.
>
>It is a simple line control.
>
>Is there something i can do in order to show the form fast?
>
>Something i noticed is that the second time i run the same form in the app, it is show normal.
>
>I already try
>- Refresh
>- Invalite
>- UpdateWindow API
>- RedrawWindow API
>
>None of this worked.
>
>I also compiled the EXE a DLL using Release mode and nothing happened.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform