Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading forms with many controls in C#
Message
De
30/01/2007 00:35:31
 
 
À
28/01/2007 20:08:09
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01189057
Message ID:
01190369
Vues:
16
Mike,

Anything out of the ordinary as to the Controls you are using? How many controls do you have on one TabPage? Where are you databinding the controls?

I copy/pasted more than 80 TextBoxes on each page of a TabControl and see no evidence of slow rendering ... 4 TabPages in all, each with more than 80 TextBoxes, all are databound.

~~Bonnie



>Hi Einar,
>
>Thanks for the reply. We are using .Net Framework 2.0
>If I click tab1, the controls inside the tab are displayed one at a time. Its like the controls are being repainted again, the slow rendering is noticeable specially if I have lots of controls like textbox, combobox etc. inside the tab. The slow rendering always occur even if I click tab 2 then go back to tab 1 and so on.
>
>We also encounter the same problem even if the form has no tab control as long as the form contains many controls in it.
>
>
>The slowness of rendering controls is very noticeable specially if you compared it to Visual Foxpro.
>
>Any Idea?
>
>Thanks again...
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform