How to Email Screen in ASP.Net/MVC

前端 未结 2 1969
耶瑟儿~
耶瑟儿~ 2020-12-10 23:48

I have an application that is made up of 10+ related ascx files that we use to display our data on the users browser using the Html.RenderPartial helper.

I need to e

2条回答
  •  不思量自难忘°
    2020-12-11 00:03

    In regular asp.net you can override the Render() and provide your own HtmlWriter to intercept the rendered html before copying it to the HtmlWriter that was passed in.

    I don't know off the top of my head how you'd intercept this in MVC, but I'm sure you'll be able to do it - especially if you make a new HttpModule in the pipeline to pre-post process the output stream.

提交回复
热议问题