|
Rank: Newbie Groups: Member
Joined: 3/31/2009 Posts: 2
|
im trying to replace one of our old server controls with the contextmenu. so as to avoid having to hunt round every screen replacing tags i was hoping to inherit from the context menu and extend its functionality for our needs
however i get the following
Class 'QuickLinkMenu' must either be declared 'MustInherit' or override the following inherited 'MustOverride' member(s): EO.Web.BaseNavigator : Protected MustOverride Sub a(ByRef A_0 As EO.Web.NavigationItem, ByRef A_1 As EO.Web.LookItemCollection).
ive tried overriding this sub with no luck, i know i probably doing something stupid, but your help is appreciated
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, How did you inherit from ContextMenu? We use the following code and it works fine:
Code: Visual Basic.NET
Public Class TestMenu
Inherits EO.Web.ContextMenu
End Class
You should not need to override anything. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/31/2009 Posts: 2
|
thanks for the quick reply
unfortunately that is what i have tried
i have even tried creating a new project from scratch and copied your snipit with the exact same result.
however i have just tried in C# and have no problem inheriting from the control. any idea what would cause this?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Can you send your test project to us? We will PM you as to where to send.
Thanks!
|
|