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

You are currently viewing the ASP.NET 3.5 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 July 15th, 2010, 04:26 PM
Registered User
 
Join Date: Jun 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default calendar control help

This code will make text apper in the cell of the calendar control. I need to know how to make the text clear when the form closes or if the user clicks on the cell text. Thanks for any help


If (e.Day.Date = specialdate) Then
e.Day.IsSelectable = True
Else
e.Day.IsSelectable = False
End If
'Text will apear in cell

If e.Day.IsSelected Then
e.Cell.Text = "Specialdate"





Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar Control Spider Visual Web Developer 2008 2 February 27th, 2009 04:17 AM
Calendar control cJeffreywang ASP.NET 2.0 Basics 2 July 4th, 2007 01:05 PM
Calendar Control Brendan Bartley Access 4 September 8th, 2006 03:58 AM
Calendar Control with Tab Control Slicemahn Access 1 June 12th, 2006 10:35 PM
Calendar Control stu9820 ASP.NET 1.0 and 1.1 Basics 3 January 28th, 2004 11:22 AM





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