I am new to SharePoint even ASP.NET.
I wrote a custom calendar control which inherits the asp:calendar and overrides some function, and it work in blank pages. But today while I am trying to use the control in a web part page, it shows unknown server tag.
In both page,
< %@ Register Assembly="SharepointTest,Version=1.0.0.0,Culture=neutral,PublicKeyToken=846d0a16c362cfbd" Namespace="SharepointTest" TagPrefix="CC" %>
and the tag
< CC:EventCalendar runat="server" >< /CC:EventCalendar >
In web.config,
< SafeControl Assembly="SharepointTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=846d0a16c362cfbd" Namespace="SharepointTest" TypeName="*" Safe="True" />
Did I did anything wrong or miss anything?
Thank you.