Click here to Skip to main content
15,892,537 members
Articles / Web Development / ASP.NET

Microsoft Content Management Server Thumbnail Images Placeholder

Rate me:
Please Sign up or sign in to vote.
4.20/5 (5 votes)
20 Apr 2005CPOL2 min read 67.1K   865   28  
An XML placeholder control that displays thumbnails of images in a Resource Gallery.
'
'	ValidatedReeditSaveAction.vb - � Questech Systems
'	This notice must stay intact for use. Not for resale.
'
Imports System.Web
Imports System.Web.UI

Imports Microsoft.ContentManagement.WebControls.ConsoleControls

Namespace QuestechSystems.WebControls.ConsoleControls

    Public Class ValidatedReeditSaveAction
        Inherits AuthoringReeditSaveAction

        Protected Overrides Sub OnInit(ByVal e As EventArgs)

            MyBase.OnInit(e)

        End Sub

        Public Overrides ReadOnly Property ActionJavascript() As String

            Get
                If MyBase.Page.Validators.Count > 0 Then
                    Return ("if (!Page_ClientValidate()) return false; " & MyBase.ActionJavascript)
                Else
                    Return (MyBase.ActionJavascript)
                End If
            End Get

        End Property

    End Class

End Namespace

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Canada Canada
A Microsoft Certified Professional Developer and Technology Specialist.

Experience and expertise in SharePoint 2016 / 2013 / 2010 / 2007.

Role ranges from a developer in a multi-person team to a solution consultant with expert-level skills, leading a project to completion status.

Proven experience working effectively in a team environment and a self-managed environment.

Comments and Discussions