I am trying to move a control from one application to another
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolsvb' list.


Dennis West
I am trying to move a control from one application to another

The existing ascx control Module/searchmodule.ascx file in Duwamish7 application

project name is web

the default.aspx register
<%@ Page Language="vb" Inherits="Duwamish7.Web.PageBase" EnableSessionState=True %>

<%@ Register TagPrefix="Module" TagName="Search" Src="modules/searchmodule.ascx" %>

searchmodule.ascx
.
.
.
<%@ Import Namespace="Duwamish7.Web"%>
<%@ Control Language="vb" Codebehind="searchmodule.vb" Inherits="Duwamish7.Web.SearchModule" %>

the ascx.vb code behind file

searchmodule.ascx.vb

Imports Duwamish7.Common
Imports Duwamish7.SystemFramework

Namespace Duwamish7.Web

________________________________________________________________

trying to move it to a new project I need help on this on how to regester this search control in this new project.

project name PortalVBVS

DesktopPortalBanner.ascx (default.aspx)
.
.
<%@ Page Language="vb" Inherits="Duwamish7.Web.PageBase" EnableSessionState=True %>

<%@ Register TagPrefix="Module" TagName="Search" Src="modules/searchmodule.ascx" %>
<%@ Import Namespace="ASPNetPortal" %>

<%@ Import Namespace="ASPNetPortal"%>
<%@ Control Language="vb" Codebehind="ASPNetPortal.searchmodule.vb" Inherits="ASPNetPortal.SearchModule" %>

the ascx.vb code behind file

searchmodule.ascx.vb

Imports ASPNetPortal.Common
Imports ASPNetPortal.SystemFramework

Namespace ASPNetPortal

-------------------------------------------------------------------

Parser Error Message: Could not load type 'ASPNetPortal.SearchModule'.

Source Error:

Line 1: <%@ Import Namespace="ASPNetPortal"%>
Line 2: <%@ Control Language="vb" Codebehind="searchmodule.vb" Inherits="ASPNetPortal.SearchModule" %>
Line 3:
Line 4: <!--BEGIN SEARCH MODULE-->

Source File: C:\PortalVBVS_ca\PortalVBVS\modules\searchmodule.ascx Line: 2

For 2002 ASP.NET Solutions & Articles goto:
http://aspalliance.com/dotnetsolutions/

Dennis West
West Design
MS .NET Developer
www. westontheweb.net
Click here to reveal e-mail address
Reply to this message...
 
    
Dennis West
Void the message.. this is an impossible situation
----- Original Message -----
From: Dennis West
To: aspngcontrolsvb
Sent: Friday, June 28, 2002 1:38 PM
Subject: [aspngcontrolsvb] I am trying to move a control from one application to another

I am trying to move a control from one application to another

The existing ascx control Module/searchmodule.ascx file in Duwamish7 application

project name is web

the default.aspx register
<%@ Page Language="vb" Inherits="Duwamish7.Web.PageBase" EnableSessionState=True %>

<%@ Register TagPrefix="Module" TagName="Search" Src="modules/searchmodule.ascx" %>

searchmodule.ascx
.
.
.
<%@ Import Namespace="Duwamish7.Web"%>
<%@ Control Language="vb" Codebehind="searchmodule.vb" Inherits="Duwamish7.Web.SearchModule" %>

the ascx.vb code behind file

searchmodule.ascx.vb

Imports Duwamish7.Common
Imports Duwamish7.SystemFramework

Namespace Duwamish7.Web

________________________________________________________________

trying to move it to a new project I need help on this on how to regester this search control in this new project.

project name PortalVBVS

DesktopPortalBanner.ascx (default.aspx)
.
.
<%@ Page Language="vb" Inherits="Duwamish7.Web.PageBase" EnableSessionState=True %>

<%@ Register TagPrefix="Module" TagName="Search" Src="modules/searchmodule.ascx" %>
<%@ Import Namespace="ASPNetPortal" %>

<%@ Import Namespace="ASPNetPortal"%>
<%@ Control Language="vb" Codebehind="ASPNetPortal.searchmodule.vb" Inherits="ASPNetPortal.SearchModule" %>

the ascx.vb code behind file

searchmodule.ascx.vb

Imports ASPNetPortal.Common
Imports ASPNetPortal.SystemFramework

Namespace ASPNetPortal

-------------------------------------------------------------------

Parser Error Message: Could not load type 'ASPNetPortal.SearchModule'.

Source Error:

Line 1: <%@ Import Namespace="ASPNetPortal"%>
Line 2: <%@ Control Language="vb" Codebehind="searchmodule.vb" Inherits="ASPNetPortal.SearchModule" %>
Line 3:
Line 4: <!--BEGIN SEARCH MODULE-->

Source File: C:\PortalVBVS_ca\PortalVBVS\modules\searchmodule.ascx Line: 2

For 2002 ASP.NET Solutions & Articles goto:
http://aspalliance.com/dotnetsolutions/

Dennis West
West Design
MS .NET Developer
www. westontheweb.net
Click here to reveal e-mail address

| [aspngcontrolsvb] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcontrolsvb.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives
Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com