I hope that you are allowed to use
Cache
in your application.
To achieve your requirement you can go for using
Substitution Control.
The Substitution control offers a simplified solution to partial page caching for pages where the majority of the content is cached. You can output-cache the entire page, and then use Substitution controls to specify the parts of the page that are exempt from caching. Cached regions execute only once and are read from the cache until the cache entry expires or is purged. Dynamic regions execute every time that the page is requested.
See below examples:
aspnet-substitution-control-example-how[
^]
substitution-control-asp.net-3.5-single-article-157.aspx[
^]