cant set title with app/vnd.ms-excel?

Discussion in 'ASP General' started by S, Aug 26, 2004.

  1. S

    S Guest

    greetings,

    I have been experimenting with viewing excel spreadsheets
    through the browser using

    Response.ContentType = "application/vnd.ms-excel"

    But I observed that in place of the title is the url to
    the page. Is there a way to get around that when using

    Response.ContentType = "application/vnd.ms-excel"

    I have already tried setting a var to my desired title
    before calling Response.ContentType = "application/vnd.ms-
    excel" and then in the title tags <title><%=var%></title>

    Still, I just get the url in place of the title. Any
    suggestions?
     
    S, Aug 26, 2004
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. CVerma
    Replies:
    2
    Views:
    10,742
    C Verma
    Sep 28, 2004
  2. Replies:
    2
    Views:
    6,354
  3. Jay Balapa

    vnd.ms-excel Session State Expires

    Jay Balapa, Dec 11, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    451
    Jay Balapa
    Dec 11, 2006
  4. Nagaraj
    Replies:
    1
    Views:
    1,193
    Lionel B
    Mar 1, 2007
  5. emrefan
    Replies:
    9
    Views:
    2,153
    emrefan
    Dec 7, 2007
  6. Trapulo
    Replies:
    8
    Views:
    12,846
    M Minaga
    Sep 15, 2010
  7. Jerry O
    Replies:
    1
    Views:
    575
    Manohar Kamath [MVP]
    Sep 4, 2003
  8. Kevin Humphreys

    application/vnd.ms-excel

    Kevin Humphreys, Nov 26, 2004, in forum: ASP General
    Replies:
    1
    Views:
    337
    Tom B
    Nov 26, 2004
Loading...