Sorry...I didn't include the code because it is very trivial. Here is
the custom page (that I wish to include in a separate assemply).
CustomPage.aspx:
--------------------------
<%@ Page language="c#" Codebehind="custompage.aspx.cs"
AutoEventWireup="false" Inherits="CustomApp.CustomPage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta content="Microsoft Visual Studio .NET 7.1" name=GENERATOR>
<meta content=C# name=CODE_LANGUAGE>
<meta content=JavaScript name=vs_defaultClientScript>
<meta content=http://schemas.microsoft.com/intellisense/ie5
name=vs_targetSchema>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id=Form1 method=post runat="server">
<asp:Button id=Button1 style="Z-INDEX: 101; LEFT: 632px; POSITION:
absolute; TOP: 120px" runat="server" Text="Echo It" Width="128px"></
asp:Button>
<asp:TextBox id=_inputText style="Z-INDEX: 102; LEFT: 152px; POSITION:
absolute; TOP: 120px" runat="server" Width="472px"></asp:TextBox>
<asp:Label id=_echoText style="Z-INDEX: 103; LEFT: 136px; POSITION:
absolute; TOP: 192px" runat="server" Width="616px" Height="48px"></
asp:Label></FORM>
</body>
</HTML>
CustomPage.aspx.cs:
-----------------------------
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace CustomApp
{
/// <summary>
/// Summary description for WebForm1.
/// </summary>
public class CustomPage : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Button Button1;
protected System.Web.UI.WebControls.TextBox _inputText;
protected System.Web.UI.WebControls.Label _echoText;
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.Button1.Click += new System.EventHandler(this.Button1_Click);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
private void Button1_Click(object sender, System.EventArgs e)
{
_echoText.Text = _inputText.Text;
}
}
}
On Mar 14, 2:07 pm, "Jon Paal [MSMD]" <Jon[ nospam ]Paal @ everywhere
dot comwrote:
without seeing examplehttp://localhost/BaseApp/CustomPage.aspxcode I can offer no assistance.