[Mono-list] System.Web.UI.UserControl (corrected spelling)

Carl Olsen carl at carl-olsen.com
Mon May 16 20:13:39 EDT 2005

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: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Gonzalo Paniagua
Sent: Monday, May 16, 2005 4:36 PM
To: mono-list at lists.ximian.com
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
> 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
> 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.


Mono-list maillist  -  Mono-list at lists.ximian.com

More information about the Mono-list mailing list