﻿// JScript File

function ClearTextBox(controlClientName){
    document.getElementById(controlClientName).value = '';
    return false;
}
function CancelMasterEdit(){
    return (window.confirm("Are you sure to cancel, no changes will get posted?"));
}
function Delete(strHeader){
    return (window.confirm("Are you sure to delete " + strHeader + "?"));
}
function DropDownSelection(source, arguments) //custom validator
{
    if(arguments.Value != "0")
        arguments.IsValid = true;
    else
        arguments.IsValid = false;
    return;
}