Specifying UGC Server Controls in your Page Templates
Your Page Templates need a directive if you added Server Controls.
Procedure
If you registered Server Controls, change all relevant Page Templates to add a Page directive at the top of every published Web page (
.ascx pages):
<%@ Page Language="C#" %>