asp.net - Render User control as string template -


What do you think about providing user control as a string template, basically people like an implementation It seems that it is a bad idea I was one of those professionals who could use my user control to return the HTML required for my AJAX calls.

You can also use this approach to submit HTML to e-mail or PDF Are there. I've hacked a lot to catch my pages and render my output for a string builder so I can change them or email.

I have to do this when you need to print a PDF for the current page, or email this page and you want to send the HTML which the user is currently viewing.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -