Calendar control 
Author Message
 Calendar control

How can I add only sundays in a calendar control?

Thanks



Tue, 26 Apr 2005 22:15:31 GMT  
 Calendar control
You can't.


Quote:
> How can I add only sundays in a calendar control?

> Thanks



Tue, 26 Apr 2005 22:51:56 GMT  
 Calendar control
Here's the code.

 If e.Day.Date.DayOfWeek.ToString = "Sunday" Then
            e.Day.IsSelectable = True
        Else
            e.Day.IsSelectable = False
        End If

Thanks anyways!

iginal Message-----

Quote:
>You can't.



>> How can I add only sundays in a calendar control?

>> Thanks

>.



Tue, 26 Apr 2005 23:08:57 GMT  
 Calendar control
vbs:

That wasn't what you asked:

How can I add only sundays in a calendar control?

If you asked:

How can I determine if the the day of the week is Sunday and enable it as
being selectable?

Then I might have been able to respond accordingly.

Thanks.


Quote:
> Here's the code.

>  If e.Day.Date.DayOfWeek.ToString = "Sunday" Then
>             e.Day.IsSelectable = True
>         Else
>             e.Day.IsSelectable = False
>         End If

> Thanks anyways!

> iginal Message-----
> >You can't.



> >> How can I add only sundays in a calendar control?

> >> Thanks

> >.



Wed, 27 Apr 2005 01:45:37 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. controlling Calendar Control 9.0 in a web page?

2. Using calendar control on a Grid control?

3. Let Calendar control close when mouse clicks outside control

4. Searching database for date with calendar control and data control

5. Stephen Lebans Calendar Control

6. Deploy Calendar Control?

7. Calendar Control - No Click Event

8. Calendar control and nested subdatasheet

9. OCX calendar control

10. Calendar Control

11. Calendar control

12. Set default for ActiveX Calendar Control?

 

 
Powered by phpBB® Forum Software