Good morning !
I just begin to create a module for DNN (in VB.NET), but I have a little problem.
I need 3 pages in my module. So I create a new WebUserControl (at the good place).
But I don't successful to create a item for the module menu (and even a simple link) !
I read the guide here : dotnetnuke.adefwebserver.com/DotNetNuke/tabid/195/Default.aspx.
I try this :
Response.Redirect(Globals.NavigateURL(PortalSettings.ActiveTab.TabID, "rechercher", "mid=" & CStr(ModuleId)))
but I obtain :
Error: rechercher is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unable to cast object of type 'ASP.desktopmodules_trombinoscope_rechercher_ascx' to type 'DotNetNuke.Entities.Modules.PortalModuleBase'. ---> System.InvalidCastException: Unable to cast object of type 'ASP.desktopmodules_trombinoscope_rechercher_ascx' to type 'DotNetNuke.Entities.Modules.PortalModuleBase'. at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
Someone can tell me what is the problem ? (that's maybe something very stupid, I'm a beginner in dotnetnuke module and in .NET developement)
Thanks you ! (sorry if my english is not perfect)