Click or drag to resize

NewsDetail Class

Represents a news detail view.
Inheritance Hierarchy

Namespace:  Dynamicweb.News.Frontend
Assembly:  Dynamicweb.News (in Dynamicweb.News.dll) Version: 1.0.10
Syntax
public class NewsDetail : BaseAction

The NewsDetail type exposes the following members.

Constructors
Properties
  NameDescription
Protected propertyIsPostBack
Gets a value indicating whether this instance is post back.
(Inherited from BaseAction.)
Protected propertyIsSubmit
Gets a value indicating whether this instance is submit.
(Inherited from BaseAction.)
Public propertyItem
Gets the NewsItem object that will be displayed under the current view.
Public propertyNewsID
Gets an ID of the news item that will be displayed under the current view.
Public propertyPageview
Gets or sets the Pageview object.
(Inherited from BaseAction.)
Public propertyProperties
Gets or sets the properties of News V2 module.
(Inherited from BaseAction.)
Protected propertyTemplatePath (Inherited from BaseAction.)
Top
Methods
  NameDescription
Protected methodDoRedirect
Does the redirect.
(Inherited from BaseAction.)
Protected methodError404
Error404s this instance.
(Inherited from BaseAction.)
Protected methodError500
Error500s this instance.
(Inherited from BaseAction.)
Public methodInitializeNewsItem
Initializes the news item using the ID passed with the current request.
Public methodInitializeNewsItem(Int32)
Initializes the news item using the specified ID.
Protected methodOnAfterSelectData
Raises "AfterSelectData" event.
(Inherited from BaseAction.)
Protected methodOnBeforeSelectData
Raises "BeforeSelectData" event.
(Inherited from BaseAction.)
Public methodOutput
Renders the content of this view into the single string.
(Overrides BaseActionOutput.)
Protected methodRaiseDataSelectionEventT
Raises an event specified by the wrapper function and returns the modified data source.
(Inherited from BaseAction.)
Top
Events
  NameDescription
Public eventAfterSelectData
Occurs after the data which will be processed by the module has been selected.
(Inherited from BaseAction.)
Public eventBeforeSelectData
Occurs before the data which will be processed by the module has been selected.
(Inherited from BaseAction.)
Top
Fields
  NameDescription
Protected field_action (Inherited from BaseAction.)
Protected field_renderer (Inherited from BaseAction.)
Top
Remarks