Processes request to set the status of one or more events to "Archived"
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public ActionResult SetEventsArchived( string[] EventIDs, bool archived, int? page, int? SortFilterOptions, string ViewFilterOption, string returnUrl )
Parameters
- EventIDs
- Type: SystemString
array of event IDs - archived
- Type: SystemBoolean
true for archived, false for NOT archived - page
- Type: SystemNullableInt32
the page index to redirect to - SortFilterOptions
- Type: SystemNullableInt32
the sort option to redirect to - ViewFilterOption
- Type: SystemString
the filter option to redirect to - returnUrl
- Type: SystemString
the url to return to, optional
Return Value
Type: ActionResultif returnUrl is specified, redirect to returnUrl, else if archived is true, redirect to /Account/EventsClosed, else redirect to /Account/EventsArchived
See Also