Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
How to get DocTitle from aspx master pages ?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="wegipson, post: 1958871, member: 11249"] [b]Work around for docTitle - index server - MasterPage Issue![/b] Okay - I found a solution to this problem, the Index Server not returning docTitle values when using MasterPages with ASP.NET. It's not pretty, it's not XHTML compliant. But here it is: Right after your <ASP:ContentPlaceHolder> section in your .aspx page that is based off of a Master Page. Stick this chunk of HTML <HEAD> <TITLE>Index Server Will Pick This Up As The docTitle</TITLE> </HEAD> This is not valid xhtml since it's placing another HEAD section in your document - but as far as I can tell it's not hurting anything - AND IT WORKS! If someone finds a better way - let me know! [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
How to get DocTitle from aspx master pages ?
Top