dinger2121
Programmer
HEllo,
I have created an ascx control for a navigation menu. When I run this in a sample aspx page in VS, it works perfectly. I then added an html page to my project, added the same code as in the aspx page, but it doesn't work. I am getting a warning in the markup where I have added the control - the warning is "unrecognized namespace 'uc1'".
at the beginning of the html page, I added the line -
<% Register TagPrefix="uc1" TagName="myNav" Src="myNav.ascx" %>
Does anyone have any idea what is missing?
Thanks for any thoughts.
I have created an ascx control for a navigation menu. When I run this in a sample aspx page in VS, it works perfectly. I then added an html page to my project, added the same code as in the aspx page, but it doesn't work. I am getting a warning in the markup where I have added the control - the warning is "unrecognized namespace 'uc1'".
at the beginning of the html page, I added the line -
<% Register TagPrefix="uc1" TagName="myNav" Src="myNav.ascx" %>
Does anyone have any idea what is missing?
Thanks for any thoughts.