Hi when i run my calendar.aspx site im just getting a blank site.
Why do it not show the calendar !?
Calendar.aspx -
<%@ Page Language="VB" AutoEventWireup="True" %>
-
<%@ Import Namespace="System.Web.UI.WebControls.Calendar" %>
-
-
<html>
-
<head>
-
<link rel="Stylesheet" type="text/css" href="StyleSheet.css" />
-
</head>
-
<body>
-
<form id="Form1" runat="server">
-
<asp:calendar
-
id="calDate"
-
cssclass="calendar"
-
selectionmode="Day"
-
runat="server"
-
visible="False"
-
nextprevformat="ShortMonth"
-
dayheaderstyle-cssclass="DayHeader"
-
daystyle-cssclass="Day"
-
nextprevstyle-cssclass="NextPrev"
-
othermonthdaystyle-cssclass="OtherMonthDay"
-
selecteddaystyle-cssclass="SelectedDay"
-
selectorstyle-cssclass="Selector"
-
titlestyle-cssclass="Title"
-
todaydaystyle-cssclass="TodayDay"
-
weekenddaystyle-cssclass="WeekendDay">
-
</asp:calendar>
-
</form>
-
</body>
-
</html>
-
StyleSheet.css -
.calendar {
-
border-width: 1px !important;
-
border-style: solid !important;
-
border-color: #333333 !important;
-
border-collapse: collapse !important;
-
background-color: #06275C !important;
-
width: 180px;
-
}
-
-
.calendar table td {
-
background-color: #000066;
-
border-color: #06275C;
-
border-width: 1px;
-
border-style: solid;
-
color: #ffffff;
-
font-weight: bold;
-
font-size: 10px;
-
padding: 0px;
-
}
-
-
.calendar table td a:link,
-
.calendar table td a:active,
-
.calendar table td a:visited {
-
color: #ffcc00 !important;
-
font-size: 9px !important;
-
text-decoration: none;
-
}
-
-
.calendar table td a:hover {
-
color: #ffffff !important;
-
font-size: 9px !important;
-
text-decoration: none;
-
}
-
-
.calendar td {
-
font-family: Tahoma, Verdana;
-
font-size: 9px;
-
font-weight: bold;
-
background-color: #06275C !important;
-
padding: 2px;
-
}
-
-
.calendar .Selector {
-
-
}
-
-
.calendar .OtherMonthDay a {
-
color: #999999 !important;
-
}
-
-
.calendar .SelectedDay a {
-
font-weight: bold;
-
color: #333333 !important;
-
}
-
-
-
.calendar .Title {
-
background-color: #06275C;
-
border-color: Black;
-
border-width: 1px;
-
border-style: solid;
-
}
-
-
.calendar .NextPrev a:link,
-
.calendar .NextPrev a:active,
-
.calendar .NextPrev a:visited {
-
color: #ffcc00;
-
font-size: 9px;
-
font-weight: bold;
-
font-family: Tahoma, Verdana;
-
text-decoration: none;
-
-
}
-
-
.calendar .NextPrev a:hover {
-
color: #ffffff;
-
font-size: 9px;
-
font-weight: bold;
-
font-family: Tahoma, Verdana;
-
text-decoration: none;
-
}
-
-
.calendar .Selector {
-
-
}
-
-
-
.calendar .DayHeader {
-
text-align: center;
-
background-color: #eeeeee !important;
-
}
-
-
.calendar .Day {
-
text-align: center;
-
background-color: #eeeeee !important;
-
}
-
-
.calendar .WeekendDay {
-
text-align: center;
-
background-color: #eeeeee !important;
-
}
-
-
.calendar .OtherMonthDay {
-
text-align: center;
-
background-color: #eeeeee !important;
-
}
-
-
.calendar .TodayDay {
-
text-align: center;
-
background-color: #eeeeee !important;
-
}
-
-
.calendar .SelectedDay {
-
font-family: Tahoma, Verdana;
-
font-size: 9px;
-
text-align: center !important;
-
background-color: #cccccc !important;
-
border-width: 1px !important;
-
border-style: solid !important;
-
border-color: #333333 !important;
-
}
-
-
.calendar .Day a:link,
-
.calendar .Day a:active,
-
.calendar .Day a:visited,
-
.calendar .Today a:link,
-
.calendar .Today a:active,
-
.calendar .Today a:visited,
-
.calendar .WeekendDay a:link,
-
.calendar .WeekendDay a:active,
-
.calendar .WeekendDay a:visited {
-
font-family: Verdana;
-
font-size: 9px;
-
color: #333333 !important;
-
text-decoration: none;
-
}
-
-
.calendar .OtherMonthDay a:link,
-
.calendar .OtherMonthDay a:active,
-
.calendar .OtherMonthDay a:visited {
-
font-family: Verdana;
-
font-size: 9px;
-
color: #999999 !important;
-
text-decoration: none;
-
}
-
-
-
-
.calendar .Day a:hover,
-
.calendar .WeekendDay a:hover,
-
.calendar .OtherMonthDay a:hover {
-
font-family: Verdana;
-
font-size: 9px;
-
color: #cc3300 !important;
-
text-decoration: none;
-
}
-
-
.calendar .SelectedDay a:link,
-
.calendar .SelectedDay a:active,
-
.calendar .SelectedDay a:visited {
-
font-family: Verdana;
-
font-size: 9px;
-
color: #333333 !important;
-
text-decoration: none;
-
}
-
-
.calendar .SelectedDay a:hover {
-
font-family: Verdana;
-
font-size: 9px;
-
color: #cc3300 !important;
-
text-decoration: none;
-
}
-
1 1240
he he
visible="False" have to be visible="True"
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Alex Rybalov |
last post by:
Hi,
Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server...
|
by: Emily Jones |
last post by:
That subject line will have Joe Celko apoplectic!!
Let's say I have this thing. Oh, I don't know, a car. No, a vehicle. Can we
agree that is an entity type?
Some attributes might be VIN, Fuel,...
|
by: Anand |
last post by:
Hi All,
I have a combobox with style as DropDown List.
When I set the combobox.selectedIndex = 0, the first value is not showing up
in the combobox and it is simply blank.
Only if I...
|
by: Helen |
last post by:
Guys and gals,
I am having a problem with an IFRAME that is embedded into an ASPX
page (ASP.NET application). The IFRAME is originally empty (src='').
When a user selects a date from the...
|
by: R.A. |
last post by:
Hi
I have the web pages developed using c#. When I change the http to https the
lock showing the secure site is not showing. Is there more beside changing
the http to https to convert the web...
|
by: Magnus Blomberg |
last post by:
Hello!
I have a WinServer 2003 with IIS and VS.Net 2005 beta.
I have two web sites responding at port 80.
The first one without a host header and the second with a host header.
Now I want...
|
by: Henry Lee |
last post by:
hi , all
This is driving me crazy , I use msgbox method in .net 2.0 environment and
it is running fine on my IIS (Windows 2000) until today. The error is like
"Showing a modal dialog box or form...
|
by: craigkenisston |
last post by:
So, I wanted to implement a very, very basic job posting capability to
one of my website. I made some searches and I found there is a JOBS
STARTER KIT !!
Wow, "it's my lucky", I thought.
I...
|
by: JL |
last post by:
Hello,
I've a strange problem with Windows Vista, running an ASP page on local
machine (http://localhost/test.asp), the page does not give me any error but
the asp code is not executed (simple...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |