By mswatcher
via stevesmithblog.com
Submitted: Aug 29 2008 / 11:18
When working with AJAX and Web Services it's often nice to be able to render ASP.NET controls as strings, so the rendered HTML can be sent back to the client to replace the contents of a > or something like that. The standard way of achieving this is to use the RenderControl() method, exposed by all ASP.NET controls. Unfortunately, the RenderControl() method doesn't simply return a string - that would be too easy.
Add your comment