I would like to use SharePoint User Controls in my custom application pages.
In VS2010 I've created a new project and added an application page.
I've added the follow Tagprefixes in my customapp.aspx page:
<%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="/_controltemplates/InputFormSection.ascx" %>
When I try to add an InputFormSection in the content section,
I get the warning and the page throws an error when loading:
Element 'InputFormSection' 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.
Did I miss to add something? Putting a ~ in scr="~/_controltemplates... did not change anything.