Hallo,

habe es nun so gelöst:

        foreach (Control c in pnlRow.Controls)
        {
            if (c is TextBox)
            {
                if((c as TextBox).TextMode == TextBoxMode.MultiLine)
                {
                    (c as TextBox).Rows = 10;
                    (c as TextBox).Width = 300;
                }
            }
        }

Wahrscheinlich nicht die beste Lösung, aber es funktioniert. Danke für eure 
Hilfe!

@Claudius: CSS habe ich deshalb nicht verwendet, weil die Werte später aus 
Variablen kommen.

Henri

 
asp.net@glengamoi.com schrieb am 04.08.05 14:04:14:
> 
> Ausfürlich: ;-)
> 
> this._myTextBox.TextMode      = 
> System.Web.UI.WebControls.TextBoxMode.MultiLine;
> 

_______________________________________________
Asp.net Mailingliste, Postings senden an:
Asp.net@glengamoi.com
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an