It is not possible to render server controls from a generic handler, however, you could return plain HTML and use javascript / jquery to display the returned HTML.
You can also build a server control structure, render it to a stringwriter and return the generated markup
See the answer here Use ASP.Net server control code generation from .ashx