Namespace Logs.UI.WebControls
Public Class LogControl
Public LogControlDesigner1 as LogControlDesigner
End Class
Friend Class LogControlDesigner
End Class
End Namespace
You cannot expose the LogControlDesigner1 due to it protection level.
The type of LogControlDesigner accessible within the same assembly,
so the instance LogControlDesigner1 of type LogControlDesigner also accessible only within the same assembly.
same thing apply when you inherit a public class from friend base class.
you can give an example of TrackerDetails, Tracker and LogControl.
CallMeLaNN
Member
70 Points
43 Posts
Re: Problem when inheriting from custom serv control
Jun 08, 2008 02:30 AM|LINK
welcome
consider this example
Namespace Logs.UI.WebControls Public Class LogControl Public LogControlDesigner1 as LogControlDesigner End Class Friend Class LogControlDesigner End Class End NamespaceYou cannot expose the LogControlDesigner1 due to it protection level.
The type of LogControlDesigner accessible within the same assembly,
so the instance LogControlDesigner1 of type LogControlDesigner also accessible only within the same assembly.
same thing apply when you inherit a public class from friend base class.
you can give an example of TrackerDetails, Tracker and LogControl.
LaNN