I think its not possible.
But you can try overriding Render method. and may be it can help you to alter the rendered HTML to do your task, else i am not figuring out any other way.
Also, this is ASP.NET question, so you should post this on http://forums.asp.net - may be someone can guide you better.
HTH,
|