I Have same problem but can´t fix
My Web User Control name: DatPersonales.aspx
i do this
Protected WithEvents DatPersonales As DatPersonales
then this
Dim TxtDireccion As New TextBox
TxtDireccion = DatPersonales.FindControl("TxtDireccion")
but i still got this error: Object reference not set to an instance of an object.
i hope you see this
|