How to use this <ew:calendarpopup>????

I try to create a pop up calendar in my .net code..
I place the following code in my HTML file..
<ew:calendarpopup id="cal_Add_From" runat="server" Text="..." Width="76px" Height="20px" PadSingleDigits="True" DisabledEntryDisplayAction="OnButtonClick" CalendarLocation="Bottom" ImageUrl="../Images/calendar.jpg" DisableTextboxEntry="False" Culture="English (United Kingdom)" CssClass="Normal">
      <BUTTONSTYLE Width="20px" Height="19px" CssClass="CommandButton"></BUTTONSTYLE>
      <TODAYDAYSTYLE BackColor="LightSteelBlue" ForeColor="Black" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"></TODAYDAYSTYLE>
      <SELECTEDDATESTYLE BackColor="DodgerBlue" ForeColor="Black" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"></SELECTEDDATESTYLE>
      <GOTOTODAYSTYLE BackColor="White" ForeColor="Black" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"></GOTOTODAYSTYLE>
      <CLEARDATESTYLE BackColor="White" ForeColor="Black" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"></CLEARDATESTYLE>
      <WEEKENDSTYLE BackColor="LightGray" ForeColor="Black" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"></WEEKENDSTYLE>
      <MONTHHEADERSTYLE BackColor="LightSteelBlue" ForeColor="Black" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"></MONTHHEADERSTYLE>
      <OFFMONTHSTYLE BackColor="LightCyan" ForeColor="Gray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"></OFFMONTHSTYLE>
      <DAYHEADERSTYLE BackColor="RoyalBlue" ForeColor="Black" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"></DAYHEADERSTYLE>
      <WEEKDAYSTYLE BackColor="White" ForeColor="Black" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"></WEEKDAYSTYLE>

But it just can't appear in the page...
It stated there "Error Creating Control"...
Why this happen?
How to use it?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi p931226,

have you create the @ Register directive
<%@ Register Tagprefix="ew" Namespace="MyCompany:MyNameSpace" Assembly="MyAssembly" %>

and actually what is the next after the "Error creating control" in the error message ?


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

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.