Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HttpHandler output using System.Web.UI.Page

Status
Not open for further replies.

mgriffith

MIS
Jul 3, 2001
177
US
ok, so i have this handler for &quot;xml2&quot; files...all they are is regular xml files structured like <html><content> <p>text</p> <special_p color=&quot;red&quot;>etc etc</special_p></content></html> so that i can use xsl to simplify formatting and parse in menus and what not.

it was all cool using my handler to just parse with xsl and display, but now i've changed to a whole new strategy so that i can incorporate the power of aspx. i have a PageTemplate class that inherits from System.Web.UI.Page...i then have a user control that inherits from this... in short, i just put content in an aspx page and it doesn't have to be well formed xml or anything like that and i get the same affect as my xml2 thing, only now i get a wysiwyg editor for other developers...wopee!

ok now my question...
i still want to use the xml2 pages, but i don't want to the xsl to handle any menu stuff...so i want to basically change the request to an aspx page that and then change that into a TemplatedPage and then parse in my transformed xml2 into some content cell...any ideas?? sorry for the crappy explanation, but i don't want to write a research paper in a little box.

what i'm thinking about doing is simply doing a context.response.redirect(&quot;formatpage.aspx?p=&quot; + request.url); and having formatpage.aspx do the grunt work, but i want a more graceful solution from within my handler.

see for a snippet of what i'm doing with the page template...mine is very similar to that

thanks for any suggestions.... mike griffith
----------------------------
mgriffith@lauren.com
mdg12@po.cwru.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top