Hi Andrea,
You can override the Render event and send back any response you want:
Protected Overrides Sub Render(ByVal writer As
System.Web.UI.HtmlTextWriter)
If (you want the render the page as is) Then
MyBase.Render()
Else
Your rendering code.
End If
End Sub
Good luck! Ken.
--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.
"Andrea Williams" <an*******@hotmailIHATESPAM.com> wrote in message
news:OL**************@TK2MSFTNGP12.phx.gbl...
I have a form where the user chooses reporting options and when submit is
clicked, I need to present them with dynamically created excel file. In
Classic ASP I would just change the viewing options, but in ASP.NET I'm
using code-behind. Is there a way to clear what is scheduled to be
renedered and write new information into the page render?
OR
Should I Server.Transfer to a different page that renders the correct
info?
Andrea