Re: How to invoke one of your own pages

Ryan Heath <[email protected]> Fri, 18 Jan 2008 19:24:37 +0100
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
Server.Execute with the TextWriter overload seems to be a good
solution candidate!
I know about Server.Transfer and Server.Execute but I never knew it
had such an overload available, thanks!

// Ryan

On Jan 18, 2008 7:07 PM, Christopher Frazier <[email protected]> wrote:
> Server.Execute() or Server.Transfer() depending on your needs.
>
> --
> -Christopher
> | AspInsider
> http://bluefenix.net/
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
> -----Original Message-----
> From: Discussion of building .NET applications targeted for the Web
> [mailto:[email protected]] On Behalf Of Ryan Heath
> Sent: Friday, January 18, 2008 11:58 AM
> To: [email protected]
> Subject: Re: [DOTNET-WEB] How to invoke one of your own pages
>
> I think no can do ...
>
> The pages contains masterpages with all their own controls and the like.
> I need to be able to render any of these pages.
>
> // Ryan
>
> On Jan 18, 2008 6:40 PM, Brad Wilson <[email protected]> wrote:
> > Extract the reusable bits and make it a server-based control instead?
> >
> >
> > On Jan 18, 2008 4:43 AM, Ryan Heath <[email protected]> wrote:
> >
> > > Hi,
> > >
> > > Does anyone know how to call your own page *within* a page request?
> > > In a server click event I want to render another page (of my own) into
> > > a string for further processing.
> > >
> > > I am about to use WebClient and call my own page, but it really
> > > doesn't feel right, there has to be a better way...
> > >
> >
> > ===================================
> > This list is hosted by DevelopMentor(R)  http://www.develop.com
> >
> > View archives and manage your subscription(s) at
> http://discuss.develop.com
> >
>
> ===================================
> This list is hosted by DevelopMentorR  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>
> ===================================
> This list is hosted by DevelopMentor(R)  http://www.develop.com
>
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com