Is this normal?
or am I doing something wrong?
UploadAttachments uploader = new UploadAttachments();
uploader.ShowCheckBoxes = true;
uploader.ShowActionButtons = true;
uploader.ShowFileIcons = true;
uploader.ShowRemoveButtons = true;
uploader.MaxFilesLimit = Int32.Parse(Parameter.GetParameter("Upload", "MaxFilesLimit"));
uploader.ValidateOption.MaxSizeKB = Int32.Parse(Parameter.GetParameter("Upload", "MaxSizeKB"));
uploader.ValidateOption.AllowedFileExtensions = Parameter.GetParameter("Upload", "AllowedFileExtensions");
uploader.UploadingMsg = Translation.getTranslation("Uploader_UploadingMsg");
uploader.UploadProcessingMsg = Translation.getTranslation("Uploader_UploadProcessingMsg");
uploader.ActionButtonText = Translation.getTranslation("Uploader_ActionButtonText");
uploader.InsertText = Translation.getTranslation("Uploader_InsertText");
uploader.DirtyText = Translation.getTranslation("Uploader_DirtyText");
uploader.RemoveButtonBehavior = AttachmentItemBehavior.Delete;
uploader.ID = String.Format("answer{0}{1}", pagedetail.Question.QuestionLabelName, genPage.UniqueId);