G
Guest
I have a class that has some fields and properties that I want to serialize.
However, one of the fields is of type System.Web.UI.Webcontrols.Webcontrol
and it will not serialize so I want to mark it as "NonSerialized". However,
this property is not allowed on a property of this type. How can I designate
this property so that I can serialize the rest of the call without
serializing this property???
Thanks!
Property myControl() As System.Web.UI.WebControls.WebControl
Get
Return _myControl
End Get
Set(ByVal Value As System.Web.UI.WebControls.WebControl)
_myControl = Value
End Set
End Property
However, one of the fields is of type System.Web.UI.Webcontrols.Webcontrol
and it will not serialize so I want to mark it as "NonSerialized". However,
this property is not allowed on a property of this type. How can I designate
this property so that I can serialize the rest of the call without
serializing this property???
Thanks!
Property myControl() As System.Web.UI.WebControls.WebControl
Get
Return _myControl
End Get
Set(ByVal Value As System.Web.UI.WebControls.WebControl)
_myControl = Value
End Set
End Property