+ Reply to Thread
Results 1 to 3 of 3

want AutoFilter to default "on" for all columns

Hybrid View

  1. #1
    John Jones
    Guest

    want AutoFilter to default "on" for all columns

    From ASP.NET I set Response.ContentType = "application/vnd.ms-excel" then
    Response.Write (some_excel_data). Excel opens in a new IE window. Is there
    some way for AutoFilter to automatically default "on" first thing when excel
    opens?

  2. #2
    Tom Ogilvy
    Guest

    Re: want AutoFilter to default "on" for all columns

    It should be in the same state as when the file was saved.

    --
    Regards,
    Tom Ogilvy


    "John Jones" <john.jones@discussions.microsoft.com> wrote in message
    news:06D59EA4-7A4B-4499-B8A5-B1901EFD81C9@microsoft.com...
    > From ASP.NET I set Response.ContentType = "application/vnd.ms-excel" then
    > Response.Write (some_excel_data). Excel opens in a new IE window. Is

    there
    > some way for AutoFilter to automatically default "on" first thing when

    excel
    > opens?




  3. #3
    John Jones
    Guest

    Re: want AutoFilter to default "on" for all columns

    Thanks for the reply. There never is a previous excel file. The results of
    a DB query are processed on the server then Response.Write is used to stream
    this data back to a client browser where IE brings it up in Excel since the
    ContentType was set to "application/vnd.ms-excel".

    I did read http://support.microsoft.com/default...b;en-us;271572
    and tried using <x:FilterOn/> from within <x:WorksheetOptions> as documented
    in the "Microsoft® Office HTML and XML Reference" but was unsuccessful.
    Perhaps I wasn't trying it correctly ...

    Does someone have further information on how to correctly use the
    functionality documented in "Microsoft® Office HTML and XML Reference" or
    another idea on how to default "AutoFilter" on when presenting data using
    Excel in the way I describe. Thanks!


    "Tom Ogilvy" wrote:

    > It should be in the same state as when the file was saved.
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    >
    > "John Jones" <john.jones@discussions.microsoft.com> wrote in message
    > news:06D59EA4-7A4B-4499-B8A5-B1901EFD81C9@microsoft.com...
    > > From ASP.NET I set Response.ContentType = "application/vnd.ms-excel" then
    > > Response.Write (some_excel_data). Excel opens in a new IE window. Is

    > there
    > > some way for AutoFilter to automatically default "on" first thing when

    > excel
    > > opens?

    >
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1