.NETGURU
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...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification