Click here to Skip to main content
13,095,218 members (76,427 online)
Click here to Skip to main content
Add your own
alternative version


13 bookmarked
Posted 17 Feb 2006

common title in whole web application

, 17 Feb 2006
Rate this:
Please Sign up or sign in to vote.
Designing Common Title in Web Application


Making Common Page Title in whole application

when we add webform in a project it is added from a predefined template by microsoft. All templates resides in <visual dir>\VC#\VC#Wizards\CSharpAddWebFormWiz\Templates\1033\ for c#

and in <visual dir>\VB7\VCWizards\WebForm\Templates\1033\ for vb

you can change webform1.aspx in those directories to make default form look as you want so you can change Title Tag in those forms to make a common application title, so we don't need to write it again and again in all forms.

changing webform1.aspx for c#

open webform1.aspx from <visual dir>\VC#\VC#Wizards\CSharpAddWebFormWiz\Templates\1033\

change title tag like this id and runat attributes are optional

<title id=PageTitle runat=server> Your Page Title </title>

or you can change pagetitle at runtime

protected HtmlGenericControl PageTitle=new HtmlGenericControl();

private void Page_Load(object sender, System.EventArgs e) {

          PageTitle.InnerText="Your application title";






This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Ritesh Sutaria has about 7+ years of IT experience on various technologies like, PHP, VB, Oracle, PGSql, Sql Server. He has worked on various platforms including Windows, Linux. He has a powerfull problem solving skills which actually makes complex problems into simple problems.

You may also be interested in...


Comments and Discussions

GeneralMy vote of 1 Pin
Roberto Collina9-Mar-10 10:35
memberRoberto Collina9-Mar-10 10:35 
GeneralMy vote of 1 Pin
Luc Pattyn5-Feb-10 1:19
mvpLuc Pattyn5-Feb-10 1:19 
GeneralMy vote of 1 Pin
hammerstein0522-Jan-10 6:55
memberhammerstein0522-Jan-10 6:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.170813.1 | Last Updated 17 Feb 2006
Article Copyright 2006 by Ritesh Sutaria
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid