Custom Control Same Assembly - Visual Web Part

Posted by FullyManaged on Stack Overflow See other posts from Stack Overflow or by FullyManaged
Published on 2010-06-10T12:21:48Z Indexed on 2010/06/10 12:32 UTC
Read the original article Hit count: 223

Filed under:
|

Hi,

I am working on a Visual Web Part which requires creating a custom control. I am trying to add custom control to the same assembly as Visual Web Part and registering control as:

<%@ Register TagPrefix="cus" Namespace="SomeCustomControlNameSpace" %>

When I am trying to access this its throwing runtime error :

Unknown server tag 'cus:ControlName'.

Do I need to make any Web.Config entry for this?

Any Ideas?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about sharepoint