Hallo,

> wenn ich in meinem datagrid auf hinzuf�gen klicke bekomme ich im 
> footer f�r jede spalte eine textbox oder dropdownlist je nach dem.
> Ich will jetzt einer textbox einen standardwert zuweisen und das 
> versteh ich nicht ganz .
> Probiert hab ich es so :
> 
> Dim mytextbox as new textbox
> Mytextbox = CType(e.Item.FindControl("textbox3"), TextBox)
> Mytextbox.text = "3"
> 

diesen Effekt hatte ich auch schon, das interessante ist,
da� Du z.B. die Style Properties �ndern kannst.

Vielleicht hilft es, wenn Du der TextBox noch per
Mytextbox.ID = "mytb" eine ID zuwei�t.

Gruss

Alex


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

Antwort per Email an