Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2004-11-11
1
Medium Priority
?
1,193 Views
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>
      <TEXTBOXLABELSTYLE CssClass="Normal"></TEXTBOXLABELSTYLE>
      <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>
</ew:calendarpopup>
==============================

But it just can't appear in the page...
It stated there "Error Creating Control"...
Why this happen?
How to use it?
Thanks.
0
Comment
Question by:p931226
1 Comment
 
LVL 28

Accepted Solution

by:
mmarinov earned 120 total points
ID: 12562979
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 ?




Regards!
B..M
mmarinov
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Loops Section Overview
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

564 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