[Mono-list] System.Web.UI.UserControl (corrected spelling)
carl at carl-olsen.com
Sun May 15 16:57:02 EDT 2005
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
<%@ 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"
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?
More information about the Mono-list