Reposting in appropriate forum. Sorry about that.
1. ftb.imagegallery.aspx and the page using an imagegallery are at the same location.
2. i am able to show gallery/upload/delete images in the imagegallery. the javascript function returnImage() is present and set when the user double clicks on an image. but it fails to insert the image back to the textbox. any ideas?
///
/// add InsertImageFromGallery button
///
control = (FreeTextBox) this.FindControl("usercontrolFTB");
Toolbar toolbar = new Toolbar();
toolbar.Items.Add(new InsertImageFromGallery());
control.Toolbars.Add(toolbar);
///
/// set where the image gallery is
/// ftb.imagegallery.aspx?rif={0}&cif={0}
///
control.ImageGalleryPath = "admin/Image Gallery";
control.ImageGalleryUrl = "ftb.imagegallery.aspx" +
"?rif=" + control.ImageGalleryPath +
"&cif=" + control.ImageGalleryPath;