Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 29, 2013 08:34 AM by sukanta
Jan 25, 2013 02:01 PM|LINK
I have a custom control
in the aspx page I do
In the control I have
And in the controls's codebehind
it doesn't recognize the control in the aspx page. It tells me 'rec:recomendar is not a known control
Can u help me?
Thanks in advance
Jan 25, 2013 02:11 PM|LINK
The exact error is
Warning 14 Element 'recomendar' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.
Any help would be appreciated
Jan 29, 2013 08:24 AM|LINK
You could follow the reference below to create custom user control with a new project, and check whether it is ok.
Create a Custom User Control in ASP.NET
hope it helps you,
Jan 29, 2013 08:34 AM|LINK
inherits property must be same as that of the codefile that is "recomendar"
so change <%@ Control CodeFile="recomendar.ascx.vb" Inherits="codigo"%>
<%@ Control CodeFile="recomendar.ascx.vb" Inherits="rcomendar"%>