i blew everything out and recrecerted, still have to use global.mojoportal for the inherit and can't see the controls on the ascx page. I think we are up to 2 beers by now.!
ascx
<%@ Control Language="VB" AutoEventWireup="false" CodeBehind="AddAthlete.ascx.vb" Inherits="CoachAlert.UI.AddAthlete" %>
<portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
<mp:CornerRounderTop id="ctop1" runat="server" />
<asp:Panel ID="pnlWrapper" runat="server" CssClass="art-Post-inner panelwrapper linksmodule">
<portal:ModuleTitleControl id="Title1" runat="server" />
<portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
<asp:Panel ID="pnlCoachAlert" runat="server" EnableViewState="false" CssClass="modulecontent">
Your custom form goes here.
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
</asp:Panel>
<div class="modulefooter"></div>
</portal:mojoPanel>
<div class="cleared"></div>
</asp:Panel>
<mp:CornerRounderBottom id="cbottom1" runat="server" />
</portal:mojoPanel>
codebehind
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Data
Imports System.Configuration
Imports System.Globalization
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts
Imports System.Web.UI.HtmlControls
Imports mojoPortal.Web
Imports mojoPortal.Web.Framework
Imports mojoPortal.Web.UI
'Imports log4net
Imports Resources
Imports CoachAlert.UI
Namespace CoachAlert.UI
Partial Public Class AddAthlete
Inherits Global.mojoPortal.Web.SiteModuleControl
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
Dim button1 As New Button
button1 = Me.FindControl("button1")
button1.Text = "Howdy"
End Sub
End Class
End Namespace
designer file
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Partial Public Class AddAthlete
'''<summary>
'''mp1 control.
'''</summary>
'''<remarks>
'''Auto-generated field.
'''To modify move field declaration from designer file to code-behind file.
'''</remarks>
Protected WithEvents mp1 As Global.mojoPortal.Web.UI.mojoPanel
'''<summary>
'''ctop1 control.
'''</summary>
'''<remarks>
'''Auto-generated field.
'''To modify move field declaration from designer file to code-behind file.
'''</remarks>
Protected WithEvents ctop1 As Global.mojoPortal.Web.Controls.CornerRounderTop
'''<summary>
'''pnlWrapper control.
'''</summary>
'''<remarks>
'''Auto-generated field.
'''To modify move field declaration from designer file to code-behind file.
'''</remarks>
Protected WithEvents pnlWrapper As Global.System.Web.UI.WebControls.Panel
'''<summary>
'''Title1 control.
'''</summary>
'''<remarks>
'''Auto-generated field.
'''To modify move field declaration from designer file to code-behind file.
'''</remarks>
Protected WithEvents Title1 As Global.mojoPortal.Web.UI.ModuleTitleControl
'''<summary>
'''MojoPanel1 control.
'''</summary>
'''<remarks>
'''Auto-generated field.
'''To modify move field declaration from designer file to code-behind file.
'''</remarks>
Protected WithEvents MojoPanel1 As Global.mojoPortal.Web.UI.mojoPanel
'''<summary>
'''pnlCoachAlert control.
'''</summary>
'''<remarks>
'''Auto-generated field.
'''To modify move field declaration from designer file to code-behind file.
'''</remarks>
Protected WithEvents pnlCoachAlert As Global.System.Web.UI.WebControls.Panel
'''<summary>
'''TextBox1 control.
'''</summary>
'''<remarks>
'''Auto-generated field.
'''To modify move field declaration from designer file to code-behind file.
'''</remarks>
Protected WithEvents TextBox1 As Global.System.Web.UI.WebControls.TextBox
'''<summary>
'''Button1 control.
'''</summary>
'''<remarks>
'''Auto-generated field.
'''To modify move field declaration from designer file to code-behind file.
'''</remarks>
Protected WithEvents Button1 As Global.System.Web.UI.WebControls.Button
'''<summary>
'''cbottom1 control.
'''</summary>
'''<remarks>
'''Auto-generated field.
'''To modify move field declaration from designer file to code-behind file.
'''</remarks>
Protected WithEvents cbottom1 As Global.mojoPortal.Web.Controls.CornerRounderBottom
End Class