ASP.NET MVC, How to get the page content before render

Posted by user361993 on Stack Overflow See other posts from Stack Overflow or by user361993
Published on 2010-06-09T02:56:41Z Indexed on 2010/06/09 3:02 UTC
Read the original article Hit count: 420

Filed under:
|
|

In ASP.NET MVC, how to get the page content before render, we know in Web form app, we can override the method

protected override void Render(HtmlTextWriter writer)

to get the page content before render. but in MVC there are no event concept, so how we can get the page content. the purpose for that is to emphasize(wrap <strong> tag) the keywords before the page rendered. I'd appreciate for any advice. Thank you.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET