Joe Audette explained it to me, so I'll wait and post any problems (if I have any) after I do a test using his suggestions. Thank you!
Carl Olsen -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gonzalo Paniagua Javier Sent: Monday, May 16, 2005 4:36 PM To: [email protected] Subject: Re: [Mono-list] System.Web.UI.UserControl (corrected spelling) On Sun, 2005-05-15 at 15:57 -0500, Carl Olsen wrote: > I just tried to create a user control and got an error saying the page could > not find a .dll file. > > My user control is a menu table with the following code at the top of the > page: > > <%@ Control Language="c#" AutoEventWireup="false" Inherits="menu" %> > <%@ Assembly Src="menu.ascx.cs" %> > > In the page where I try to include the user control, I have: > > <%@ Register TagPrefix="MyUserControl" TagName="MyMenu" > Src="controls/menu.ascx" %> > > And in the page, I have the tag, as: > > <MyUserControl:MyMenu id="MyMenu1" runat="server"></MyUserControl:MyMenu> > > Can anyone tell me if this has been implemented, or if there is a different > way of writing the various pieces of code? This has been working for years now. Perhaps if you post attach the files you're using and detail what you're doing, what you get and what would you expect someone could help you. -Gonzalo _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
