Dynamicweb 8 Documentation
Standard.Page.PageviewNotificationArgs Class
Members  Example 

Generic notification argument for notifications in pageviev object
Object Model
Standard.Page.PageviewNotificationArgs ClassPageView ClassTemplate Class
Syntax
'Declaration
 
Public Class Standard.Page.PageviewNotificationArgs 
   Inherits Dynamicweb.Extensibility.NotificationArgs
public class Standard.Page.PageviewNotificationArgs : Dynamicweb.Extensibility.NotificationArgs 
Remarks
Arguments passed to Dynamicweb.Notifications.Standard.Page.OnGlobalTags notification
Example
Overriding the page markup validation completed in DynamicwebOverriding the page markup validation completed in Dynamicweb
namespace Dynamicweb.Examples.CSharp.Notifications.Standard
{
    [Extensibility.Subscribe(Dynamicweb.Notifications.Standard.Page.OnGlobalTags)]
    public class PageviewObserver : Dynamicweb.Extensibility.NotificationSubscriber
    {
        public override void OnNotify(string notification, Dynamicweb.Extensibility.NotificationArgs args)
        {
            if (args == null)            
                return;

            Dynamicweb.Notifications.Standard.Page.PageviewNotificationArgs pna = (Dynamicweb.Notifications.Standard.Page.PageviewNotificationArgs)args;
            
            //To do - insert your code here
            
        }
    }
}
Namespace Notifications.Standard
    <Extensibility.Subscribe(Global.Dynamicweb.Notifications.Standard.Page.OnGlobalTags)> _
    Public Class PageviewObserver
        Inherits Global.Dynamicweb.Extensibility.NotificationSubscriber

        Public Overrides Sub OnNotify(ByVal notification As String, ByVal args As Global.Dynamicweb.Extensibility.NotificationArgs)
            If args Is Nothing Then
                Return
            End If

            Dim pna As Global.Dynamicweb.Notifications.Standard.Page.PageviewNotificationArgs = DirectCast(args, Global.Dynamicweb.Notifications.Standard.Page.PageviewNotificationArgs)

            'To do - insert your code here

        End Sub
    End Class
End Namespace
Inheritance Hierarchy

System.Object
   Dynamicweb.Extensibility.NotificationArgs
      Dynamicweb.Notifications.Standard.Page.PageviewNotificationArgs

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Standard.Page.PageviewNotificationArgs Members
Dynamicweb.Notifications Namespace

Send Feedback