|
//
// ValidatedReeditSaveAction.cs - � Questech Systems
// This notice must stay intact for use. Not for resale.
//
using System;
using System.Web;
using Microsoft.ContentManagement.WebControls.ConsoleControls;
namespace QuestechSystems.WebControls.ConsoleControls
{
public class ValidatedReeditSaveAction : AuthoringReeditSaveAction
{
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
}
public override string ActionJavascript
{
get
{
if (base.Page.Validators.Count > 0)
{
return ("if (!Page_ClientValidate()) return false; " + base.ActionJavascript);
}
else
{
return (base.ActionJavascript);
}
}
}
}
}
|
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.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
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.