"Nick Charlesworth" wrote:
try this URL
http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=323
>
> Hi,
>
> I am building a user control that will form the header
> of my sites pages -
> header.ascx
>
> I want to declare a page title in the web form and
have
> the header user
> control display this title in between the
> <title></title> tags that are in
> the header user control.
>
> How can I pass a variable from the webform i.e.
> strTitle to be included
> in the user control.
>
> My header.ascx user control currently looks like this
>
> <%@ Control Language="vb"
AutoEventWireup="false"
> Codebehind="header.ascx.vb"
Inherits="woodmoore.header"
> <html>
> <head>
> <link rel="stylesheet"
type="text/css"
> href="mystyle.css">
> <title><!--insert the title string here
--></title>
> <meta name="keywords"
content="">
> <meta name="description"
content="">
> </head>
> <body bgcolor="#ffffff">
> <!--END HEADER -->
>
> thanks for your time,
>
> Nick
> <a
href="http://mail.telocity.com//jump/http://p2p.wrox.com/manager.asp">http://p2p.wrox.com/manager.asp</a> or