asp.net.ph

DayRenderEventArgs Class

System.Web.UI.WebControls Namespace


Provides data for the DayRender event of a Calendar control.

DayRenderEventArgs Class Members

Collapse   Constructors

Visibility Constructor Parameters
public DayRenderEventArgs ( TableCell cell , CalendarDay day )
public DayRenderEventArgs ( TableCell cell , CalendarDay day , String selectUrl )

Collapse   Properties

Visibility Name Value Type Accessibility
public Cell TableCell [ Get ]
public Day CalendarDay [ Get ]
public SelectUrl String [ Get ]

Remarks

The DayRender event is raised whenever a date cell is rendered on a Calendar control. You can modify the content and formatting of the individual date cells by providing code in the DayRenderEventHandler.

For more information about handling events, see Web Forms Events Model.

Example

The following example demonstrates how to specify and code a handler for the DayRender event, to set the background color for the days in the displayed month of a Calendar control.

 Show me 

See Also

Calendar   DayRenderEventHandler Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph