Atlas: PopupControlExtender error message

I've implemented the dlls associated with Atlas and referenced them in my
C# ASP.Net project.  I continue to get the following error.  Please help!

Error      2      Element 'PopupControlExtender' is not a known element. This can occur if there is a compilation error in the Web site.      

This is my HTML code:

                <atlasToolkit:UpdatePanel ID="DatePickerUpdatePanel" runat="server">

                    <ContentTemplate>

                        <atlasToolkit:PopupControlExtender ID="PopupControlExtender" runat="server">    <====ERROR OCCURS HERE!
                            <atlasToolkit:PopupControlProperties TargetControlID="DateTextBox" PopupControlID="DatePickerPanel" Position="Bottom" />

                        </atlasToolkit:PopupControlExtender>
                   
                       
                   

                        <center>

                            <asp:Calendar ID="DatePickerCalendar" runat="server" BackColor="White" BorderColor="#999999" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Width="160px" OnSelectionChanged="DatePickerCalendar_SelectionChanged">

                                <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />

                                <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />

                                <SelectorStyle BackColor="#CCCCCC" />

                                <WeekendDayStyle BackColor="#FFFFCC" />

                                <OtherMonthDayStyle ForeColor="#808080" />

                                <NextPrevStyle VerticalAlign="Bottom" />

                                <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />

                                <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />

                            </asp:Calendar>

                        </center>

                    </ContentTemplate>

                </atlasToolkit:UpdatePanel>
JeffDrummondAsked:
Who is Participating?
 
WelkinMazeCommented:
Hi, it seems that PopupControlExtender cannot compile. You may check it source and see what is causing the compilation error.
0
 
JeffDrummondAuthor Commented:
The error was occurring because I needed to add the reference for the AtlasControlToolkit to the
web.config file.  Previously I had only the reference to the Microsoft.Web.Atlas in the config file.

    <pages>
      <controls>
          <add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlasToolkit"/>
        <add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlasToolkit"/>
        <add namespace="AtlasControlToolkit" assembly="AtlasControlToolkit" tagPrefix="atlasToolkit"/>
       
      </controls>
    </pages>

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.