Index server and ASP.NET 2.0 master pages

Discussion in 'ASP .Net' started by Lonnie, Nov 28, 2005.

  1. Lonnie

    Lonnie Guest

    I'm trying to use the Microsoft Index Server with ASP.NET 2.0 master
    pages. I'm aware that the "doctitle" = the <title> entry and the
    "characterization" = the "description" meta tag. If these tags are
    maintained in the "master" page, and the index server searches the
    "child" pages, these values aren't set in the index. Am I missing
    something? Is there a provision for this?

    Lonnie, Nov 28, 2005
    1. Advertisements

  2. Lonnie

    Lonnie Guest

    Answered my own question, yes you can hack your way around this.
    I put in a <head> section in my "child" ascx page, something like this:

    <asp:content id="mainContent" contentplaceholderid="_mainContent"
    <title>About Us - Who Are We</title>
    <meta name="description" content="This page displays a map of our
    location" />


    This does generate a page that violates the HTML standards as it
    created a <head> section in the <body> but the browsers seem to just
    ignore it. The Index Server seems to be picking it up fine.

    Good luck.
    Lonnie, Dec 12, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.