public void CreateOption(ArrayList selectedList, string optionItemID, bool useStock)
    {
        _optionUploadWebControlService = new OptionUploadWebControlService(false, UploadedFile, Server.MapPath("~/"));
        OptionItemValue optionItemValue = OptionUploadWebControlService.CreateOptionItemValue(
            optionItemID, useStock, TempUploadedFile);

        if ((optionItemValue != null) && (UploadedFile != null))
        {
            selectedList.Add(optionItemValue);
        }
    }
    public bool ValidateInput()
    {
        string errorMessage;

        if (!OptionUploadWebControlService.ValidateInput(out errorMessage))
        {
            uxUploadRQMessage.Text = "<br/>" + errorMessage;
            return(false);
        }
        else
        {
            return(true);
        }
    }
    public bool ValidateInput()
    {
        string errorMessage;

        if (!OptionUploadWebControlService.ValidateInput(out errorMessage) || !CheckFileUploaded(out errorMessage))
        {
            uxMessageDiv.Visible   = true;
            uxUploadRQMessage.Text = " " + errorMessage;
            return(false);
        }
        else
        {
            return(true);
        }
    }