473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

when running site a blank site is showing

Hi when i run my calendar.aspx site im just getting a blank site.

Why do it not show the calendar !?
Calendar.aspx
Expand|Select|Wrap|Line Numbers
  1. <%@ Page Language="VB" AutoEventWireup="True" %>
  2. <%@ Import Namespace="System.Web.UI.WebControls.Calendar" %>
  3.  
  4. <html>
  5. <head>
  6. <link rel="Stylesheet" type="text/css" href="StyleSheet.css" /> 
  7. </head>
  8. <body>
  9. <form id="Form1" runat="server">
  10. <asp:calendar
  11.     id="calDate"
  12.     cssclass="calendar"
  13.     selectionmode="Day"
  14.     runat="server"
  15.     visible="False"
  16.     nextprevformat="ShortMonth" 
  17.     dayheaderstyle-cssclass="DayHeader"
  18.     daystyle-cssclass="Day"
  19.     nextprevstyle-cssclass="NextPrev"
  20.     othermonthdaystyle-cssclass="OtherMonthDay"
  21.     selecteddaystyle-cssclass="SelectedDay"
  22.     selectorstyle-cssclass="Selector"
  23.     titlestyle-cssclass="Title"
  24.     todaydaystyle-cssclass="TodayDay"
  25.     weekenddaystyle-cssclass="WeekendDay">
  26. </asp:calendar>
  27.  </form> 
  28. </body>
  29. </html>
  30.  
StyleSheet.css
Expand|Select|Wrap|Line Numbers
  1. .calendar {
  2.     border-width: 1px !important;
  3.     border-style: solid !important;
  4.     border-color: #333333 !important;
  5.     border-collapse: collapse !important;
  6.     background-color: #06275C !important;
  7.     width: 180px;
  8. }
  9.  
  10. .calendar table td {
  11.     background-color: #000066;
  12.     border-color: #06275C;
  13.     border-width: 1px;
  14.     border-style: solid;
  15.     color: #ffffff;
  16.     font-weight: bold;
  17.     font-size: 10px;
  18.     padding: 0px;
  19. }
  20.  
  21. .calendar table td a:link, 
  22. .calendar table td a:active,
  23. .calendar table td a:visited {
  24.     color: #ffcc00 !important;
  25.     font-size: 9px !important;
  26.     text-decoration: none;
  27. }
  28.  
  29. .calendar table td a:hover {
  30.     color: #ffffff !important;
  31.     font-size: 9px !important;
  32.     text-decoration: none;
  33. }
  34.  
  35. .calendar td {
  36.     font-family: Tahoma, Verdana;
  37.     font-size: 9px;
  38.     font-weight: bold;
  39.     background-color: #06275C !important;
  40.     padding: 2px;
  41. }
  42.  
  43. .calendar .Selector {
  44.  
  45. }
  46.  
  47. .calendar .OtherMonthDay a {
  48.     color: #999999 !important;
  49. }
  50.  
  51. .calendar .SelectedDay a {
  52.     font-weight: bold;
  53.     color: #333333 !important;
  54. }
  55.  
  56.  
  57. .calendar .Title {
  58.     background-color: #06275C;
  59.     border-color: Black;
  60.     border-width: 1px;
  61.     border-style: solid;
  62. }
  63.  
  64. .calendar .NextPrev a:link,
  65. .calendar .NextPrev a:active,
  66. .calendar .NextPrev a:visited  {
  67.     color: #ffcc00;
  68.     font-size: 9px;
  69.     font-weight: bold;
  70.     font-family: Tahoma, Verdana;
  71.     text-decoration: none;
  72.  
  73. }
  74.  
  75. .calendar .NextPrev a:hover {
  76.     color: #ffffff;
  77.     font-size: 9px;
  78.     font-weight: bold;
  79.     font-family: Tahoma, Verdana;
  80.     text-decoration: none;
  81. }
  82.  
  83. .calendar .Selector {
  84.  
  85. }
  86.  
  87.  
  88. .calendar .DayHeader {
  89.     text-align: center;
  90.     background-color: #eeeeee !important;
  91. }
  92.  
  93. .calendar .Day {
  94.     text-align: center;
  95.     background-color: #eeeeee !important;
  96. }
  97.  
  98. .calendar .WeekendDay {
  99.     text-align: center;
  100.     background-color: #eeeeee !important;
  101. }
  102.  
  103. .calendar .OtherMonthDay {
  104.     text-align: center;
  105.     background-color: #eeeeee !important;
  106. }
  107.  
  108. .calendar .TodayDay {
  109.     text-align: center;
  110.     background-color: #eeeeee !important;
  111. }
  112.  
  113. .calendar .SelectedDay {
  114.     font-family: Tahoma, Verdana;
  115.     font-size: 9px;
  116.     text-align: center !important;
  117.     background-color: #cccccc !important;
  118.     border-width: 1px !important;
  119.     border-style: solid !important;
  120.     border-color: #333333 !important;
  121. }
  122.  
  123. .calendar .Day a:link,
  124. .calendar .Day a:active,
  125. .calendar .Day a:visited,
  126. .calendar .Today a:link,
  127. .calendar .Today a:active,
  128. .calendar .Today a:visited,
  129. .calendar .WeekendDay a:link,
  130. .calendar .WeekendDay a:active,
  131. .calendar .WeekendDay a:visited {
  132.     font-family: Verdana;
  133.     font-size: 9px;
  134.     color: #333333 !important;
  135.     text-decoration: none;
  136. }
  137.  
  138. .calendar .OtherMonthDay a:link,
  139. .calendar .OtherMonthDay a:active,
  140. .calendar .OtherMonthDay a:visited {
  141.     font-family: Verdana;
  142.     font-size: 9px;
  143.     color: #999999 !important;
  144.     text-decoration: none;
  145. }
  146.  
  147.  
  148.  
  149. .calendar .Day a:hover,
  150. .calendar .WeekendDay a:hover,
  151. .calendar .OtherMonthDay a:hover {
  152.     font-family: Verdana;
  153.     font-size: 9px;
  154.     color: #cc3300 !important;
  155.     text-decoration: none;
  156. }
  157.  
  158. .calendar .SelectedDay a:link,
  159. .calendar .SelectedDay a:active,
  160. .calendar .SelectedDay a:visited {
  161.     font-family: Verdana;
  162.     font-size: 9px;
  163.     color: #333333 !important;
  164.     text-decoration: none;
  165. }
  166.  
  167. .calendar .SelectedDay a:hover {
  168.     font-family: Verdana;
  169.     font-size: 9px;
  170.     color: #cc3300 !important;
  171.     text-decoration: none;
  172. }
  173.  
Jan 7 '07 #1
1 1240
he he

visible="False" have to be visible="True"
Jan 7 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
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...
2
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,...
2
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...
2
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...
3
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...
1
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...
1
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...
2
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...
7
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
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...
1
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...
0
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...
0
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...
0
Oralloy
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,...
0
jinu1996
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...
0
agi2029
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,...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.