Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 3rd, 2007, 03:10 PM
Authorized User
 
Join Date: Jan 2007
Location: , , .
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 !?


Reply With Quote
  #2 (permalink)  
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.