When you want an arbitrary code to be executed irrespective of caching settings in a page, you can use a Substitution control. Its main property is MethodName which points to the static method that is to be executed. Its signature needs to look like this:
static string Method1(HttpContext context)
{
…
}
No comments:
Post a Comment