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

Posted on 2004-11-11
Last Modified: 2008-03-10
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?
Question by:p931226
    1 Comment
    LVL 28

    Accepted Solution

    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 ?


    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now