Add the Date Filter SharePoint webpart to an ASP.Net page

Posted by Javaman59 on Stack Overflow See other posts from Stack Overflow or by Javaman59
Published on 2010-05-14T01:37:40Z Indexed on 2010/05/14 1:44 UTC
Read the original article Hit count: 349

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??>
}

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about webpart