Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Excel from ASP.Net, get login screen?


Message #1 by Philo <philo@r...> on Thu, 17 Oct 2002 17:24:20 -0400
ASP.Net, Forms authentication

I'm trying to generate a tab-delimited document and send it to excel from
an aspx page.

When I set the contenttype then I get excel in the browser but the login
form displays (badly). If I leave out the contenttype then I get the data
I'm sending.

What am I missing?

Philo


Message #2 by Greg Griffiths <greg2@s...> on Thu, 17 Oct 2002 22:33:52 +0100
http://www.greggriffiths.org/webdev/both/excel/ has plenty of information 
on this type of issue.

At 17:24 17/10/02 -0400, you wrote:
>ASP.Net, Forms authentication
>
>I'm trying to generate a tab-delimited document and send it to excel from
>an aspx page.
>
>When I set the contenttype then I get excel in the browser but the login
>form displays (badly). If I leave out the contenttype then I get the data
>I'm sending.
>
>What am I missing?
>
>Philo
>
>
>
>---
>
>ASP.NET 1.0 Namespace Reference with C#
>http://www.wrox.com/acon11.asp?ISBN=1861007442
>
>ASP.NET 1.0 Namespace Reference with VB.NET
>http://www.wrox.com/acon11.asp?ISBN=1861007450
>
>These books are a complete reference to the ASP.NET namespaces for 
>developers who are already familiar with using ASP.NET. There is no 
>trivial introductory material or useless .NET hype and the presentation of 
>the namespaces, in an easy-to use alphabetical order ensures a 
>user-friendly reference format.
>We provide in-depth coverage of all the major ASP.NET classes, giving you 
>those real-world tips that the documentation doesn't offer, and 
>demonstrating complex techniques with simple examples.
>
>---
>---
>Change your mail options at http://p2p.wrox.com/manager.asp or to 
>unsubscribe send a blank email to 


Message #3 by Philo <philo@r...> on Thu, 17 Oct 2002 17:50:08 -0400
No, not really. I'm not using automation, I'm building a tab-delimited 
document in C#. I think the issue is in forms authentication related to 
setting the content type.

Thanks anyway,
Philo

At 10:33 PM 10/17/2002 +0100, Greg Griffiths wrote:
>http://www.greggriffiths.org/webdev/both/excel/ has plenty of information 
>on this type of issue.
>
>At 17:24 17/10/02 -0400, you wrote:
>>ASP.Net, Forms authentication
>>
>>I'm trying to generate a tab-delimited document and send it to excel from
>>an aspx page.
>>
>>When I set the contenttype then I get excel in the browser but the login
>>form displays (badly). If I leave out the contenttype then I get the data
>>I'm sending.
>>
>>What am I missing?
>>
>>Philo
>>
>>
>>
>>---
>>
>>ASP.NET 1.0 Namespace Reference with C#
>>http://www.wrox.com/acon11.asp?ISBN=1861007442
>>
>>ASP.NET 1.0 Namespace Reference with VB.NET
>>http://www.wrox.com/acon11.asp?ISBN=1861007450
>>
>>These books are a complete reference to the ASP.NET namespaces for 
>>developers who are already familiar with using ASP.NET. There is no 
>>trivial introductory material or useless .NET hype and the presentation 
>>of the namespaces, in an easy-to use alphabetical order ensures a 
>>user-friendly reference format.
>>We provide in-depth coverage of all the major ASP.NET classes, giving you 
>>those real-world tips that the documentation doesn't offer, and 
>>demonstrating complex techniques with simple examples.
>>
>>---
>>---
>>Change your mail options at http://p2p.wrox.com/manager.asp or to 
>>unsubscribe send a blank email to 
>
>
>
>---
>
>ASP.NET 1.0 Namespace Reference with C#
>http://www.wrox.com/acon11.asp?ISBN=1861007442
>
>ASP.NET 1.0 Namespace Reference with VB.NET
>http://www.wrox.com/acon11.asp?ISBN=1861007450
>
>These books are a complete reference to the ASP.NET namespaces for 
>developers who are already familiar with using ASP.NET. There is no 
>trivial introductory material or useless .NET hype and the presentation of 
>the namespaces, in an easy-to use alphabetical order ensures a 
>user-friendly reference format.
>We provide in-depth coverage of all the major ASP.NET classes, giving you 
>those real-world tips that the documentation doesn't offer, and 
>demonstrating complex techniques with simple examples.
>
>---
>---
>Change your mail options at http://p2p.wrox.com/manager.asp or to 
>unsubscribe send a blank email to 


  Return to Index