hi friends
i have created new module as test
by default three page are displayed (viewtest.ascx , edittest.ascx , setting.ascx)
and
i create new ascx page as welcome.ascx
i placed a button1 in viewtest.ascx
i want to redirect to welcome.ascx when i click on button in viewtest.ascx
--------------------------------------------------------------------------
i have used this code
Response.Redirect(NavigateUrl(TabId, "ControlName", "Mid=" & ModuleId))
when i click on btn3
it is redirecting to welcome.ascx
and it is showing error message.
Error: welcome is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unable to cast object of type 'ASP.desktopmodules_registrationform_welcome_ascx' to type 'DotNetNuke.Entities.Modules.PortalModuleBase'. ---> System.InvalidCastException: Unable to cast object of type 'ASP.desktopmodules_registrationform_welcome_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 ---