I have a Control that I want to copy as a copy of the Control, not a copy of
the reference to the original. My reason for doing this is because some of
the methods I would calling would prevent proper rendering afterwards. I
access the Control as a parameter of a function, as follows:
Private Function MyFunction(ByVa l ctrl As Control) As String
'code that will make a copy of ctrl
'my function code
End Function
(NOTE: I am using VB.NET and .NET Framework 1.1) Thanks.
--
Nathan Sokalski
njsokalski@hotm ail.com
the reference to the original. My reason for doing this is because some of
the methods I would calling would prevent proper rendering afterwards. I
access the Control as a parameter of a function, as follows:
Private Function MyFunction(ByVa l ctrl As Control) As String
'code that will make a copy of ctrl
'my function code
End Function
(NOTE: I am using VB.NET and .NET Framework 1.1) Thanks.
--
Nathan Sokalski
njsokalski@hotm ail.com
Comment