Delete default folder

Last post 08-26-2010, 9:28 AM by Eric. 4 replies.
Sort Posts: Previous Next
  •  08-19-2010, 6:46 AM 63516

    Delete default folder

    I load my GalleryFolder using: GalleryBrowser1.GalleryFolder = "~/bildarkiv/images/album/"
    In Explorer Layout i have a default folder. In Admin Console i click "New category" and i creates new categories / folders.
     
    If i create categori "test1, test2 and test3" and then the user right click on the default folder and select delete. All created categories "test1, test2 and test3" is deleted with all pictures. How do we solve that problem? Can you fix so it's not possible to delete the default folder?
  •  08-23-2010, 1:15 AM 63556 in reply to 63516

    Re: Delete default folder

    Please, can i have suport of this?
  •  08-24-2010, 1:37 PM 63592 in reply to 63556

    Re: Delete default folder

    I cannot reproduce this issue in latest version, the steps are as follows:
    1. Download asp.net image gallery
    2. Unzip and install it on my end
    3.  Update explorer layout page file( my path is http://localhost/0808dotnetgallery/Explorer-Layout.aspx) :
     
    protected override void OnInit(EventArgs e)
    {
     base.OnInit(e);
     
     GalleryBrowser1.Layout="Explorer";
     
    // if(Context.User.Identity.Name=="Admin")
    // {
      GalleryBrowser1.AllowEdit=true;
      GalleryBrowser1.AllowPostComment=true;
      GalleryBrowser1.AllowShowComment=true;
      GalleryBrowser1.GalleryFolder = "~/ericalbum/";
    // }
    }
    5. Create 4 categories
    6. Upload some files to every category
    7. Remove the default category
    8. Check other categories and files, and they are not removed.
     
    Can you download latest version and try it again? Please tell us whether you can reproduce this issue again.
     
    Regards,
    Eric
  •  08-26-2010, 4:06 AM 63630 in reply to 63592

    Re: Delete default folder

    I have download the latest version, and now it works...
     
    Thanks.
  •  08-26-2010, 9:28 AM 63638 in reply to 63630

    Re: Delete default folder

    Great!
View as RSS news feed in XML