AssignDataModel
Description: Assigns and prepares the data model for Razor event templates. It calls the base class's AssignDataModel, sets up date parameters for calendar views, and populates several event lists (next events, past events, monthly events, etc.) into the SimplisityRazor model.
Signaturepublic new string AssignDataModel(SimplisityRazor sModel)
Example
@AssignDataModel(sModel)
RssEventUrl
Description: Generates a URL for an RSS feed of events for a specific month and year. The URL includes parameters for the command, month, year, and a SQL index for sorting by event start date.
Signaturepublic IEncodedString RssEventUrl(int portalId, string cmd, int monthDate, int yearDate)
Example
@RssEventUrl(portalId, cmd, monthDate, yearDate)