When your aspx page has a master page, you need to make sure any content for that page is put inside of the contentplaceholder on that page. If your page does not have a contentplaceholder this could be the problem. See the example below.
<%@ Page Language="VB" MasterPageFile="~/Intranet.master" AutoEventWireup="false"
CodeFile="Default.aspx.vb" Inherits="FR_Default" Title="Untitled Page" ValidateRequest="false" %>
<%@ Register src="../UserControls/FormsRepository/FormsTool.ascx" TagName="FormsTool"
TagPrefix="uc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="Server">
<uc1:FormsTool ID="FormsTool1" runat="server" />
</asp:Content>
if the call to the usercontrol is not inside of the content place holder it will not work correctly. Hope this helps.
------------------------------------------------
Jeff Turner (
simpleModus)
Don't forget to mark the correct answer for your
question to help out future visitors!