Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 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 25th, 2006, 07:48 AM
Authorized User
 
Join Date: Jan 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default Text and link in Calendar control

Hi all
I want to place linked text within calendar control for different dates, can anyone please tell me how to do that.

Thanks and Regards


 
Old January 25th, 2006, 09:29 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

The "DayRender" event of the System.Web.UI.WebControls.Calendar control is raised when each day is created. Write an event handler for that event and you can add additional controls to the day cell of the control.

http://msdn.microsoft.com/library/en...endertopic.asp

-Peter
 
Old January 27th, 2006, 06:14 AM
Authorized User
 
Join Date: Jan 2006
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by planoie
 The "DayRender" event of the System.Web.UI.WebControls.Calendar control is raised when each day is created. Write an event handler for that event and you can add additional controls to the day cell of the control.

http://msdn.microsoft.com/library/en...endertopic.asp

-Peter
Hi Peter
Thank u so much for your reply.
Can u please tell me how to access that day cell and add some dynamic value let say no. of appointments for that day?

Thanks & Regards



 
Old January 27th, 2006, 10:44 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Please look at the link I posted. There is complete documentation there. The "Event Data" section of that link describes the data sent with the DayRender event.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
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
insert text into a text box by selecting an link gavmc Other Programming Languages 0 February 15th, 2006 09:46 AM
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.