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
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