The MethodName property accepts the name of a method defined in the page.
The method must be a shared (static) method because an instance of the class is not created when the page is output cached.
<%@ Page Language="C#" %>
<%@ OutputCache Duration="15" VaryByParam="none" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Substitution Control