CharlieDev
asked on
c# ,asp.net- master pages with web user controls, how to link to web user control
Hi,
I am using master pages and also web user controls, how do I link a web user control on an aspx page when I am also linking in a master page?
I get an error when i link the aspx.cs and master page first and then the web user control as shown below :
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ClientView.aspx. cs" Inherits="ClientView" MasterPageFile="~/_standar dPage.mast er" %>
<%@ Register TagPrefix="ClientViewTable Control" TagName="ClientViewTable" src="ClientViewTableContro l.ascx"%>
Can someone show me how to reference the web user control please?
Thanks
I am using master pages and also web user controls, how do I link a web user control on an aspx page when I am also linking in a master page?
I get an error when i link the aspx.cs and master page first and then the web user control as shown below :
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ClientView.aspx.
<%@ Register TagPrefix="ClientViewTable
Can someone show me how to reference the web user control please?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
And I don't think there is a problem in your user control.
ASKER
Thanks
You want to be able to read members/controls located on the master page and/or on the aspx page.
Is this right?