DayRenderEventArgs Constructor (TableCell, CalendarDay, String)

 

Initializes a new instance of the DayRenderEventArgs class using the specified cell, calendar day, and selection URL.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public DayRenderEventArgs(
	TableCell cell,
	CalendarDay day,
	string selectUrl
)

Parameters

cell
Type: System.Web.UI.WebControls.TableCell

A TableCell that represents a cell in the Calendar.

day
Type: System.Web.UI.WebControls.CalendarDay

A CalendarDay that represents the day to render in the Calendar.

selectUrl
Type: System.String

The script used to post the page back to the server when the user selects the date being rendered.

Use this constructor to create and initialize a new instance of the DayRenderEventArgs class.

When an instance of DayRenderEventArgs is created by a call to this constructor, the properties shown in the following table are initialized to the specified values.

Property

Initial value

Cell

The value of the cell parameter.

Day

The value of the day parameter.

SelectUrl

The value of the selectUrl parameter.

System_CAPS_noteNote

This constructor is used primarily by control developers.

.NET Framework
Available since 2.0
Return to top
Show: