Пример #1
0
    protected void ibnDelete_Click(object sender, ImageClickEventArgs e)
    {
        Biz_ScaleInfos scaleInfo = new Biz_ScaleInfos();

        if (hdfScaleInfo.Value.Equals(""))
        {
            ltrScript.Text = JSHelper.GetAlertScript("선택된 평가방법이 없습니다.");
            return;
        }

        bool isOK = scaleInfo.RemoveScaleInfo(COMP_ID, hdfScaleInfo.Value);

        if (isOK)
        {
            BindingScaleInfo(COMP_ID, "");
            ButtonStatusByInit();
        }
        else
        {
            ltrScript.Text = JSHelper.GetAlertScript("정상적으로 삭제가 처리되지 않았습니다.");
            return;
        }
    }