Saving user control output to a file
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolsvb' list.


Yoav Broudo
Hi,

Is there a way to pull the HTML from a User control written in an ascx file?
I want to save it to a file for later use.

Thank
Yoav

Reply to this message...
 
    
Susan Warren
You might want to check out the CachedPortalModule class in the IBuySpy
Portal samples (you can download this now from http://www.asp.net).
It's a custom user control base class and hooks the Render event for the
module to grab a copy of the rendered html. Then it pokes it into
cache... you could of course store it to a file at this point.

hth
Susan

-----Original Message-----
From: Yoav Broudo [mailto:Click here to reveal e-mail address]=20
Sent: Tuesday, February 05, 2002 12:43 AM
To: aspngcontrolsvb
Subject: [aspngcontrolsvb] Saving user control output to a file

Hi,

Is there a way to pull the HTML from a User control written in an ascx
file?
I want to save it to a file for later use.

Thank
Yoav

| [aspngcontrolsvb] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngcontrolsvb.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com