[thelist] .NET: Public variable set in user control

apathetic apatheticgenius at gmail.com
Thu Oct 12 12:39:22 CDT 2006

On 10/10/06, Casey Crookston <caseyc at intellisoftmn.com> wrote:
> 'ImageToDisplay' is not a member of 'System.Web.UI.UserControl'.

Perhaps cast the object to your class.  Something like:

Dim nav As YourClassName = CType(Navigation1, YourClassName)

nav.ImageToDisplay = "value"


More information about the thelist mailing list