Example #1
0
 void FileListingUc1_RenameClicked(object sender, Academic.ViewModel.IdAndNameEventArgs e)
 {
     FolderAddDialogUc1.FolderId   = e.Id;
     FolderAddDialogUc1.FolderName = e.Name;
     if (e.Check)
     {
         FolderAddDialogUc1.SetValues("Folder rename");
     }
     else
     {
         FolderAddDialogUc1.SetValues("File rename");
     }
     FolderAddDialogUc1.OpenDialog();
 }
Example #2
0
 protected void lnkAddFolder_OnClick(object sender, EventArgs e)
 {
     FolderAddDialogUc1.OpenDialog();
 }