Is there any way to get HTML content from Label?

I want to get HTML content from Label (HTML Mode) after setting value and style. What I want to do is that I want to cache html result from queries so in the next time with same criteria I can get from database and set to Label without doing any query.

Thank you vary much

I’m not quite sure what you wan’t do do, but you can get the content of a Label with getValue(). Why don’t you just cache the value before you show it?