I created a simple custom control that only inherits from the Literal
control, and doesn\'t have any extensions yet, code is empty.
Namespace: CustomControl
The problem lies in your <%@ Register TagPrefix="web" Namespace="CustomControls" %>
tag: it misses the assembly name!
It must become <%@ Register TagPrefix="web" Namespace="CustomControls" Assembly="YourAssemblyName" %>
. If you have difficulties finding the assembly name for your class here are a few hints:
ASP.App_Code
should workOtherwise please give us some information about project layout!