troubleshooting Question

How do I fix Visual Studio 2008 error: "Generation of designer file failed: Unknown server tag 'cc1:CalendarExtender'

Avatar of AusBoyz
AusBoyz asked on
.NET ProgrammingASP.NETAJAX
10 Comments1 Solution4972 ViewsLast Modified:
After adding a calendar extender to my webpage, the designer file fails to update for any other controls I add to the page, like a button. Because of this generation failure with the designer file, I can not continue to develop further on the site.

If I remove all instances of any extender from the .aspx file then the designer file will work fine again.
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Member.Master" CodeBehind="WebForm1.aspx.vb" Inherits="NorthAmerica.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MemberContentPlaceHolder" runat="server">
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <cc1:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" 
        Enabled="True" TargetControlID="TextBox1">
    </cc1:CalendarExtender>
    <asp:Button ID="Button1" runat="server" Text="Button" />
</asp:Content>
 
 
 
Public Partial Class WebForm1
    Inherits System.Web.UI.Page
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
 
    End Sub
 
    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
 
    End Sub
End Class
ASKER CERTIFIED SOLUTION
David Robitaille
Analyst Programmer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros