protected void FileUploadCompleteClient(object sender, EventArgs e) { if (lbldocumentcaseno.Text.ToString() != "") { string filename = System.IO.Path.GetFileName(FileUploadClient.FileName); FileUploadClient.SaveAs(Server.MapPath("~/Upload_Document/" + lbldocumentcaseno.Text + "_" + filename)); ClientDocket = lbldocumentcaseno.Text + "_" + filename; } else { MyMessageBoxInfo.Show(MyMessageBox.MessageType.Success, "Please Select Case no", 125, 300); } }