function RadUpperMaskPart ()
{
	
};

RadUpperMaskPart.prototype = new RadMaskPart();

RadUpperMaskPart.prototype.CanHandle = function (value, offset)
{
	if (!RadMaskPart.IsAlpha(value))
	{
		this.controller.OnChunkError(this, this.GetValue(), value);
		return false;
	}
	return true;
};

RadUpperMaskPart.prototype.GetVisValue = function ()
{
    if (this.value.toString() == "")
    {
		return this.PromptChar;
    }
    return this.value.toString();
};

RadUpperMaskPart.prototype.SetValue = function (value, offset)
{
	if (value == "")
	{
		this.value = "";
		return true;
	}

	if (RadMaskPart.IsAlpha(value))
	{
		this.value = value.toUpperCase();
	} else
	{
		this.controller.OnChunkError(this, this.GetValue(), value);
	}
	return true;
};

//BEGIN_ATLAS_NOTIFY
if (typeof(Sys) != "undefined")
{
    if (Sys.Application != null && Sys.Application.notifyScriptLoaded != null)
    {
        Sys.Application.notifyScriptLoaded();
    }
}
//END_ATLAS_NOTIFY

