Henri Löbel schrieb:
> Wolfgang Kluge schrieb:
foreach (Control c in pnlRow.Controls) {
if (c.Type is System.Web.UI.WebControls.Label)
c.Visible = false;
}
Danke, aber klappt leider nicht, weil es c.Type gar nicht gibt und
c.GetType() is System.Web.UI.WebControls.Label noch weniger funktioniert :-(
Stimmt, und dies ist die Folge:
foreach (Control c in pnlRow.Controls) {
if (c is System.Web.UI.WebControls.Label)
c.Visible = false;
}
--
Freundliche Grüße
Albert Weinert
_______________________________________________
Asp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net