Okay, that code above is at the top of my newly created index.aspx page.
I've tried to tell my client that they don't need extra quotation marks around their title that shows up in the web browser.
They are insistent on having the extra quotation marks.
I've tried to add the@inside of the original quotation marks (on the inside of the left quotation mark).
VS 2010
throws a conniption fit. It tells me something about content controls only work on content.
So I don't lose my contract and client and make them happy. Can someone tell me how to add those extra quotation marks so they show up in the title of the browser.
WidmarkRob
Member
3 Points
7 Posts
Page Title - adding extra characters and symbols
Nov 27, 2012 03:41 AM|LINK
<%@ Page Title="My Title" Language="C#" MasterPageFile="~/mydomain.com/webroot/customdirectory/MasterPage.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="mydomain.com_webroot_customdirectory_index" %>
Okay, that code above is at the top of my newly created index.aspx page.
I've tried to tell my client that they don't need extra quotation marks around their title that shows up in the web browser.
They are insistent on having the extra quotation marks.
I've tried to add the@inside of the original quotation marks (on the inside of the left quotation mark).
VS 2010
throws a conniption fit. It tells me something about content controls only work on content.
So I don't lose my contract and client and make them happy. Can someone tell me how to add those extra quotation marks so they show up in the title of the browser.
Thank you in advance,
Rob
Vipindas
Contributor
5720 Points
858 Posts
Re: Page Title - adding extra characters and symbols
Nov 27, 2012 05:55 AM|LINK
Try this
<%@ Page Title="" My Title "" Language="C#" MasterPageFile="~/mydomain.com/webroot/customdirectory/MasterPage.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="mydomain.com_webroot_customdirectory_index" %>
WidmarkRob
Member
3 Points
7 Posts
Re: Page Title - adding extra characters and symbols
Nov 27, 2012 07:38 AM|LINK
Thanks for the Reply, I'll give it a try within the next hour or so…
mfh2055
Member
4 Points
4 Posts
Re: Page Title - adding extra characters and symbols
Dec 06, 2012 08:12 AM|LINK
you can use the code Behind page.
in the page load event
as
This.Page.Title="BLA BLA BLA";