Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 3rd, 2007, 03:10 PM
Authorized User
 
Join Date: Jan 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Some Questions about the asp:calendar

Hi

I have this code, and it works very well.
Code:
<form runat="server">
<asp:Calendar id=Calendar1 runat="server"
Height="160px" Width="224px"
NextMonthText = "<img src='images/arrowRight.gif' border=0>"
PrevMonthText = "<img src='images/arrowLeft.gif' border=0>"
FirstDayOfWeek="Monday"

TitleStyle-BackColor="#ABAF96"
TitleStyle-Font-Bold="True"

DayNameFormat="FirstTwoLetters" 
DayHeaderStyle-Font-Bold="True" 

TodayDayStyle-Font-Bold="True" 
TodayDayStyle-BackColor="#D9DEBE" 
TodayDayStyle-BorderWidth="1px" 
TodayDayStyle-BorderColor="#000000" 

WeekendDayStyle-BackColor="#E2EC9B"

OtherMonthDayStyle-ForeColor="#DDDDDD" 
OtherMonthDayStyle-BackColor="#FFFFFF" 
/>
</form>
</asp:Content>
My Questions is:
- How can i make the DayNameFormat="FirstTwoLetters" to Xx and not like now xx, i mean how to start with a big letter.
- The WeekendDayStyle-BackColor="#E2EC9B" style how can i make the same style on the SAT(sa) SUN(su) in the DayNameFormat.
- If i make a SelectionMode="DayWeekMonth" and us SelectWeekText = "week" i can see the word "week" infront of a Week number if i make a mouseover it say "Select Week 3" or what ever the week number is, how can i changes the word "week" to the weeknumber!?

From this:
Week Mon Tue Wed Thu Fri Sat Sun
Week Week day number......................
Week Week day number......................
Week Week day number......................
Week Week day number......................
Week Week day number......................

To this:
Week Mon Tue Wed Thu Fri Sat Sun
01 Week day number......................
02 Week day number......................
03 Week day number......................
04 Week day number......................
05 Week day number......................

- And how can i remove the underline, under the day numbers !?


 
Old September 9th, 2009, 03:00 PM
Registered User
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you ever find out how to do this? I'm having similar problems.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar like calendar in AJAX in ASP.NET h@ckerz ASP.NET 2.0 Professional 0 February 19th, 2008 12:56 AM
Calendar problem in ASP heba ASP.NET 2.0 Professional 1 June 5th, 2007 08:42 AM
Calendar Control in ASP.NET 2.0 midway11 ASP.NET 1.x and 2.0 Application Design 3 May 11th, 2007 05:26 PM
ASP.NET Calendar TitleFormat ramuis78 ASP.NET 2.0 Basics 0 August 1st, 2006 01:54 PM
ASP Calendar control and popups MixedCode General .NET 3 December 7th, 2004 06:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.