R
RND
I have this class:
Public MustInherit Class ucBasicListingUserControl
Inherits System.Web.UI.UserControl
Public Event OnDone()
Public MustOverride Sub LoadData(Optional ByVal pstrSignalParam As
String = "")
Public MustOverride WriteOnly Property objListings() As Listings
Public Sub RaiseOnDoneEvent()
Try
RaiseEvent OnDone()
Catch ex As Exception
LogException(ex)
End Try
End Sub
End Class
For several usercontrols, I inherit from the above class instead of
UserControl in the code behind file. When I do that, none of the controls
will load in designer mode in the IDE. If I change to inherit from
UserControl, they load fine. I saw a news group message that implied this
is fixable by doing something in the base class, but I have not been able to
fix it. The above seeems so basic, I am wondering why the derived class can
not load.
Public MustInherit Class ucBasicListingUserControl
Inherits System.Web.UI.UserControl
Public Event OnDone()
Public MustOverride Sub LoadData(Optional ByVal pstrSignalParam As
String = "")
Public MustOverride WriteOnly Property objListings() As Listings
Public Sub RaiseOnDoneEvent()
Try
RaiseEvent OnDone()
Catch ex As Exception
LogException(ex)
End Try
End Sub
End Class
For several usercontrols, I inherit from the above class instead of
UserControl in the code behind file. When I do that, none of the controls
will load in designer mode in the IDE. If I change to inherit from
UserControl, they load fine. I saw a news group message that implied this
is fixable by doing something in the base class, but I have not been able to
fix it. The above seeems so basic, I am wondering why the derived class can
not load.