Caption Title for all WEB pages

I'm setting the Caption Title in the PreRender event (see below) .  Is there a way to set the Caption for all WEB pages in a project to the same value, using the web.config or the app startup event, or some other way?


Public Sub Page_PreRender() Handles Me.PreRender
            Me.Page.Title = "TDS"
End Sub
LVL 1
HLRosenbergerAsked:
Who is Participating?
 
Chinmay PatelConnect With a Mentor Enterprise ArchitectCommented:
Are you using Master pages? If yes the this will work for you:

<head runat="server">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>TDS</title>

    <asp:PlaceHolder runat="server">
        <%: Scripts.Render("~/bundles/modernizr") %>
    </asp:PlaceHolder>


</head>

Open in new window

0
 
HLRosenbergerAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.