Add the Date Filter SharePoint webpart to an ASP.Net page
- by Javaman59
I want to add the out-of-the-box SharePoint date filter webpart to an ASP.Net web page.
I want to do it either in an ASPX...
<%@ Register Assembly="<DatePickerDLL??>" Namespace="<??>" TagPrefix="DP" %>
<...>
<asp:WebPartManager ID="WebPartManager1" runat="server">
</asp:WebPartManager>
<...>
<ZoneTemplate>
<DP:<DatePickerWebPart??> ID="DatePicker" runat="server" />
or programmatically, in the ASPX.CS
protected void Page_Load(object sender, EventArgs e)
{
this.Controls.Add(<Microsoft.Something.DatePicker??>
}