Advertisement

04.16.2007 at 08:36AM PDT, ID: 22513868
[x]
Attachment Details

AJAX: Element 'CollapsiblePanelExtender' is not a known element.

Asked by PaulKahl in Microsoft Visual C#.Net, C# Programming Language, Programming for ASP.NET

Tags: , ,

I get this error no matter what AJAX control I attempt to use. As long as I'm in design mode in Studio 05, I get no errors, but the second I go into source mode, there are the errors, on every AJAX control. And there is no Intellisense on any of the controls.

 My code:

<

asp:ImageButton ID="btnTools" runat="server" ImageUrl="~/images/menuTools.gif" BorderStyle="None" />
<asp:Panel ID="pnlTools" runat="server" Width="204px" CssClass="clsNinetyFivePercentFont">
    <asp:HyperLink ID="hlT01" runat="server" NavigateUrl="#" Text="<span style='text-decoration: none !important;'>-&nbsp;</span>Checklists/Team" CssClass="lnkWhiteToPinkBold clsNinetyPercentFont clsUnderline" /><br />
    <asp:HyperLink ID="hlT02" runat="server" NavigateUrl="#" Text="<span style='text-decoration: none !important;'>-&nbsp;</span>Close Milestone Status/News" CssClass="lnkWhiteToPinkBold clsNinetyPercentFont clsUnderline" /><br />
    <asp:HyperLink ID="hlT03" runat="server" NavigateUrl="#" Text="<span style='text-decoration: none !important;'>-&nbsp;</span>SOX Management" CssClass="lnkWhiteToPinkBold clsNinetyPercentFont clsUnderline" />
</asp:Panel>
<cc1:CollapsiblePanelExtender id="CollapsiblePanelExtender1" runat="server" ExpandedSize="150" TargetControlID="pnlTools" CollapseControlID="btnTools" Collapsed="True" CollapsedSize="0" ExpandControlID="btnTools" SuppressPostBack="True" />
The control works, but won't compile. I just have to save and view the site in the browser.

I'm using these collapsible panels to replace a treeview menu for my site. I've noted another bizarre error: if I remove the treeview completely from the file, I get a massive .Net compilation error when I try to view the page. But if I include an empty treeview with a false visibility (<asp:TreeView ID="treeMainMenu" runat="Server" Visible="false" />) right before the ImageButton shown above, then all is well, and the page will render.

 I did a fresh install of the Essential Components and the Control Toolkit today (first install on this box).
Start Free Trial
[+][-]04.16.2007 at 08:50AM PDT, ID: 18918557

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, C# Programming Language, Programming for ASP.NET
Tags: collapsiblepanelextender, element, known
Sign Up Now!
Solution Provided By: lem2802
Participating Experts: 2
Solution Grade: B
 
 
[+][-]04.16.2007 at 09:17AM PDT, ID: 18918755

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2007 at 07:09AM PDT, ID: 18924315

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.18.2007 at 01:42PM PDT, ID: 18935022

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.18.2007 at 01:58PM PDT, ID: 18935128

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.18.2007 at 02:41PM PDT, ID: 18935401

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.18.2007 at 08:08PM PDT, ID: 18936612

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.19.2007 at 08:28AM PDT, ID: 18939820

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.19.2007 at 08:32AM PDT, ID: 18939865

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.20.2007 at 12:00PM PDT, ID: 18948734

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.20.2007 at 12:00PM PDT, ID: 18948737

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.20.2007 at 12:04PM PDT, ID: 18948764

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32