Welcome Guest Search | Active Topics | Sign In | Register

inherit context menu Options
Colin Gallogly
Posted: Thursday, June 11, 2009 4:58:07 PM
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
eo_support
Posted: Thursday, June 11, 2009 5:08:15 PM
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!
Colin Gallogly
Posted: Thursday, June 11, 2009 5:41:06 PM
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?

eo_support
Posted: Thursday, June 11, 2009 6:04:38 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.