Displays a list of messages eith to or from this user (not both)
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public ActionResult ViewMessages( bool? incoming, int? pageIndex, string sort, bool? descending )
Parameters
- incoming
- Type: SystemNullableBoolean
true or null displays incoming messages, otherwise outgoing messages are displayed - pageIndex
- Type: SystemNullableInt32
index of the page to be displayed (default 0) - sort
- Type: SystemString
field name to order results by (default "Sent") - descending
- Type: SystemNullableBoolean
order results in ascending or descending order (default true / descending)
Return Value
Type: ActionResultView(Page<UserMessage>)
See Also