Wednesday, December 13, 2006

How to use ASP.NET controls inside a XSLT

I wrote an article at CodeProject explaining how to use ASP.NET controls inside a XSLT.

I think that this is a must read to anyone that uses XSLTs in their web applications and even to every ASP.NET developer!

Brief description of the solution

I used a HttpModule to capture all requests made to all ASP.NET pages and made the XSLT/XML transformations before the request arrives at the PageHandlerFactory, in the HttpPipeline, and the ASP.NET page is dynamically created.

I have a demo project showing this solution, but if you want to look only at the HttpModule’s code, I’ve posted the source code of the HttpModule only as well.

Read the article and leave a comment!

Tell me what you think!

Read the article here

Posted by BCoelho2000 at 22:52:07 | Permalink | No Comments »