|
-
March 15th, 2006, 12:23 PM
#1
ASP Calendar Work Week
I am using the asp calendar to display information pulled from a database onDayRender. What I am trying to do is to get rid of Saturday and Sunday to give more room for the data in the Mon-Fri boxes. Anyone know how I could achieve this? Thanks.
-Dakota
Last edited by doomsday123; March 15th, 2006 at 02:59 PM.
-
March 15th, 2006, 02:01 PM
#2
Re: ASP Calendar Wrok Week
This may work:
cal.WeekendDayStyle.Width=0;
-
March 15th, 2006, 02:33 PM
#3
Re: ASP Calendar Wrok Week
I tried that but they are still there for some reason.
-
March 15th, 2006, 03:15 PM
#4
Re: ASP Calendar Wrok Week
i dont know then, i have never removed the days from the cal. Can you just make the actual calendar bigger in width and height? will that serve your purposes?
Alternatively you can look at extending the calendar class and override the method that puts the days of the calendar up for display. The days are most likely in a collection class and you could enumerate over the sat, sun, or maybe remove them all toghether, if you ovverride it you could (in theory) create a public property that passes an arraylist of days you want in the cal, or just set a property to showWeekends true or false.
hth,.
mcm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|