• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

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
1 Solution
Chinmay PatelEnterprise 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" />

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


Open in new window

HLRosenbergerAuthor Commented:
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.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now