Posted on: 4/27/2011 6:07:32 AM | Views : 296

Hello,
I have some problems with Web Parts. My problem is following:
1. I add UserControl to Project (WebForms Applicataion - empty template). This user control have Calendar
2. I add to my Default Page code to displaying webpart which is made from user control:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication6.WebForm1" %> <%@ Register src="WebUserControl1.ascx" tagname="WebUserControl1" tagprefix="uc1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:WebPartManager ID="WebPartManager1" runat="server"> </asp:WebPartManager> <as ...

Go to the complete details ...