Parastream™ PagePorter™

Include Scheduled

A custom control that implements the FrontPage Scheduled Include (“ScheduledInclude” / “ScheduledImage”) controls.

FpIncludeScheduled will include targets based on a pair of DateTime properties. If the current time is between the two specified times, the target is included. Otherwise a different object is included, or nothing.

Included objects may be a web user control, picture, text, or a hyperlink. Note that the BeginDate and EndDate properties are expressed in universal time. This is because FpIncludeScheduled is designed to run on a server that may not be located in the same time zone as the developer’s computer. Likewise, the time zone of the client’s browser cannot be known, so the control standardizes on the use of universal time. When converting a FrontPage ScheduledInclude or ScheduledImage control, the times are automatically converted to universal time.

When converting a FrontPage ScheduledInclude control, the included pages are converted into web user controls and placed on the converted ASP.NET page. The original included pages are never modified by PagePorter, regardless of the Post-conversion Action specified.

Public Instance Properties

Property Summary
BeginDate The date and time that defines the scheduled starting time, expressed in universal time.
EndDate
The date and time that defines the scheduled ending time, expressed in universal time.
IncludeDuring The object to include during the scheduled time.
IncludeOtherwise The object to include before and after the scheduled time.
ScreenTipDuring The ScreenTip text to include during the scheduled time. Used for the ALT tag in pictures, and the TITLE tag in hyperlinks.
ScreenTipOtherwise The ScreenTip text to include before and after the scheduled time. Used for the ALT tag in pictures, and the TITLE tag in hyperlinks.
Type The type of object to include.
  • UserControl – Includes a web user control.
  • Picture – Includes a picture.
  • Text – Includes plain text.
  • HTML – Includes HTML-formatted text.
  • HyperlinkBeginTag – Includes the beginning tag of a hyperlink. Note: you must supply the ending tag </a>.

See Also

Web Controls | Include Page