Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh() vs. Invalidate()
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01051537
Message ID:
01051562
Vues:
14
Hi,

I think .Refresh() is the same as .Invalidate(true). If you only want to repaint part of the control you can use one of the other overloaded .Invalidate()'s.

Regards,
Viv

>I have been calling Refresh() from a property's set in order to have my custom controls repainted. I did a little reading today and came accross the use of Invalidate() to force a repaint of a custom control.
>Does anyone know what the pros and cons are regarding using Invalidate() vs. Refresh() to force a repaint of a custom control?
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform