Exemple #1
0
    void ShowFilesSharingMessage()
    {
        int selectedFiles = GetNoOfFilesSelected()[0];

        if (selectedFiles == 0)
        {
            lblShareFilesConfirmation.Text      = "Please select atleast one file or press 'Reject File(s)' Button!";
            PanelShareFilesConfirmation.Visible = true;
            ModalPopupExtenderShareFilesConfirmation.Show();
        }
        else
        {
            lblShareFilesConfirmation.Text      = "Are you sure to add these " + selectedFiles.ToString() + " file(s) to your database?";
            PanelShareFilesConfirmation.Visible = true;
            ModalPopupExtenderShareFilesConfirmation.Show();
        }
    }
Exemple #2
0
 protected void btnShareNo_Click(object sender, EventArgs e)
 {
     PanelShareFilesConfirmation.Visible = false;
     ModalPopupExtenderShareFilesConfirmation.Hide();
 }