Dynamicweb 8 Documentation
ContentModule Class Methods


For a list of all members of this type, see ContentModule members.

Public Methods
 NameDescription
Public MethodFinalizeModuleOverride this method to provide code that needs to be executed after the module has been attached and rendered  
Public MethodGetContentOverride this method and return the HTML output for the module.  
Public MethodInitializeModuleInitializes the instance. Can be overridden  
Public MethodRequestContextGets the value of Name in HTTP query string or post variables. Instead of using Request.QueryString or Request.Form. INFO: Calling this function is context sensitive to the paragraph the module is attached to. That means it will only return a value if PID=123 equals the ParagraphID of the paragraph currently attaching the module or if PID is not specified. This is usefull when the same module is attached several times on the same page and you want different states of the modules on each paragraph. I.e. adding a querystring variable PageNum=2 would cause 2 instances of the module on the same page to change to page 2 when using normal request. If changed to PID=123&PageNum=2 and using RequestContext would make only one of the instances go to page 2.  
Top
Protected Methods
 NameDescription
Protected MethodCreateResponseCreates new response object which will be used to send a content of a special type to the client.  
Top
See Also

Reference

ContentModule Class
Dynamicweb Namespace

Send Feedback