Mega Code Archive
Registering User Controls in the Web Configuration File
File: Control.ascx
<%@ Control Language="C#" ClassName="RandomImage" %>
<%@ Import Namespace="System.IO" %>
File: Web.Config
After you register a User control in the web configuration file, you can declare the User control in any page.
File: Default.aspx
<%@ Page Language="C#" %>
Show Application Register