The MessageDetails type exposes the following members.

Constructors

  Name Description
Public method MessageDetails
Constructor.

Methods

  Name Description
Public method ApplyChanges
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).

Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance.

(Overrides BasePart..::..ApplyChanges()()()().)
Public method BindData
Bind data.
Protected method btnBack_Click
Protected method btnCancel_Click
Protected method btnSend_Click
Protected method GetInitialMessage
Gets the initital message.
Public method MarkAsRead
Protected method OnInit (Overrides BasePart..::..OnInit(EventArgs).)
Protected method OnLoad (Overrides BasePart..::..OnLoad(EventArgs).)
Protected method OnMessageCancel
On message canceled.
Protected method OnMessageSending
On message sending.
Protected method OnMessageSent
On message sent.
Protected method OnPreRender (Overrides BasePart..::..OnPreRender(EventArgs).)
Protected method pager_PageIndexChanged
Protected method ResetForm
Reset message create form.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Fields

  Name Description
Protected field btnBack
btnBack control.
Protected field btnCancel
btnCancel control.
Protected field btnSend
btnSend control.
Protected field chkSendMail
chkSendMail control.
Protected field ctlFileGallery
ctlFileGallery control.
Protected field ctlUpload
ctlUpload control.
Protected field lblFileGallery
lblFileGallery control.
Protected field lblMessage
lblMessage control.
Protected field lblUpload
lblUpload control.
Protected field lblWarning
lblWarning control.
Protected field ltlSubject
ltlSubject control.
Protected field lvPosts
lvPosts control.
Protected field pager
pager control.
Protected field plhSendMail
plhSendMail control.
Protected field pnlContainer
pnlContainer control.
Protected field pnlUpload
pnlUpload control.
Protected field summary
summary control.
Protected field txtHTMLMessage
txtHTMLMessage control.
Protected field txtMessage
txtMessage control.

Properties

  Name Description
Public property AllowFileUpload
Indicates if file upload is enabled for this control.
Public property ContentProviderTypeName
Content provider type name used for uploading files.
Public property DefaultUploadPath
Content provider type name used for uploading files.
Public property EnableHTMLMessages
Gets or sets a value indicating whether a HTML formatted messages are enabled.
Public property MailServerAddress
Property that is used in message sending methods instead of the "From" address of the user. Used to avoid SPF issues on mail servers that will not accept from addresses from arbitrary users. Instead of that, a fixed valid From message is used that is always accepted by SMTP.
Public property MessageId
Id of the parent message in the message thread
Public property NewMessageId
Used to track the new message ID that is used to establish a relation with messages and uploaded files (as files are uploaded before the post is entered into the database).
Public property PageSize
Pager page size.
Public property ShowSendMailCheckbox
Gets or sets a value indicating whether send mail check box is visible.
Public property UploadFolder
File upload folder. The following special strings can be used and will be replaced by the appropriate values: {username}, {userid}, {id}.
Public property UsePrettyPhoto
Uses Pretty Photo functionality instead of redirecting to a file preview page.
Public property ViewFilePageId
Property that is used for storing the file view page.
Public property ViewFilePageUrl
Property that is used for storing the file view page URL in case of URL rewriting scenarios. Has the priority over ViewFilePageId.

Events

  Name Description
Public event MessageCanceled
Message canceled event.
Public event MessageSending
MessageSending event is fired before message is sent.
Public event MessageSent
Message sent event.

See Also