|
|
ImageGallery Problem
Last post 09-18-2008, 3:24 AM by otenli. 15 replies.
-
03-31-2005, 10:42 PM |
-
jbolles
-
-
-
Joined on 04-01-2005
-
-
Posts 2
-
-
|
I am new to FreeTextBox and I love it, great work! I am running into a problem using the image gallery. I have included the insertimagefromgallery button, and it show up fine, however when it is clicked nothing happens. I included the ftb.imagegallery.aspx file in the same folder as the page with the FTB. I tried commenting out the return at the top of the Page_Load function for ftb.imagegallery.aspx but that didnt do anything. Thanks for you help in advance.
|
|
-
04-04-2005, 1:18 AM |
-
DB
-
-
-
Joined on 04-04-2005
-
-
Posts 2
-
-
|
jbolles wrote: | | I am new to FreeTextBox and I love it, great work! I am running into a problem using the image gallery. I have included the insertimagefromgallery button, and it show up fine, however when it is clicked nothing happens. I included the ftb.imagegallery.aspx file in the same folder as the page with the FTB. I tried commenting out the return at the top of the Page_Load function for ftb.imagegallery.aspx but that didnt do anything. Thanks for you help in advance. |
|
I could not have said it better great control. I am however having the same problem with the control. Regards
|
|
-
-
-
-
-
-
-
03-25-2006, 3:37 PM |
-
rmacapobre
-
-
-
Joined on 01-10-2006
-
-
Posts 11
-
-
|
ImageGallery Problem: Failed to insert an image
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;
|
|
-
03-25-2006, 3:42 PM |
-
rmacapobre
-
-
-
Joined on 01-10-2006
-
-
Posts 11
-
-
|
you need to set the following property ImageGalleryPath. i set mine from the code behind, like this.
control = (FreeTextBox) this.FindControl("usercontrolFTB"); control.ImageGalleryPath = "admin/Image Gallery";
|
|
-
-
11-14-2006, 9:33 PM |
-
mlopilato
-
-
-
Joined on 10-28-2006
-
-
Posts 3
-
-
|
John,
I've tried every example that you have in your download.
I'm still having the same problem!
The image gallery doesn't show up when you click on the 'Edit Images' Button.
Instead I get a prompt for a Script Prompt, Enter URL: .
I have the FTB.imagegallery.aspx in the same folder (root).
The url is 208.153.119.246/default2.aspx
Here is the code: (straight from your default example, except for the response.write)
<% @ Page Language="C#" ValidateRequest="false" Trace="false" %>
<% @ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
< script runat="server">
protected void Page_Load(Object Src, EventArgs E) {
if (!IsPostBack) {
FreeTextBox1.Text = "<p><a href=\"http://www.freetextbox.com\" target=\"_blank\">FreeTextBox</a></p><p>some <b>Bold</b> and <u>underlined</u> and <font color=\"#008000\">colored</font> text<p><ul><li>bulleted list 1</li></ul><form><table border=1><tr><td>Name</td><td><input type=text></td></tr><tr><td>Secure</td><td><input type=checkbox></td></tr><tr><td>Category</td><td><select><option>Shopping</option><option>Clothes</option></select></td></tr></table></form>";
}
}
protected void SaveButton_Click(Object Src, EventArgs E) {
Output.Text = FreeTextBox1.Text;
}
</ script>
<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
< html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
< head>
<title>All Features</title>
< script>
</ script>
</ head>
< body>
<form id="Form1" runat="server">
<h2>All buttons and drop downs enabled</h2>
<div>
<FTB:FreeTextBox id="FreeTextBox1" OnSaveClick="SaveButton_Click"
toolbarlayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,FontBackColorPicker|Bold,Italic,Underline,Strikethrough,Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage|Cut,Copy,Paste,Delete;Undo,Redo,Print,Save|SymbolsMenu,StylesMenu,InsertHtmlMenu|InsertRule,InsertDate,InsertTime|InsertTable,EditTable;InsertTableRowAfter,InsertTableRowBefore,DeleteTableRow;InsertTableColumnAfter,InsertTableColumnBefore,DeleteTableColumn|InsertForm,InsertTextBox,InsertTextArea,InsertRadioButton,InsertCheckBox,InsertDropDownList,InsertButton|InsertDiv,EditStyle,InsertImageFromGallery,Preview,SelectAll,WordClean,NetSpell"
runat="Server" />
<asp:Button id="SaveButton" Text="Save" onclick="SaveButton_Click" runat="server" />
</div>
<div>
<asp:Literal id="Output" runat="server" />
</div>
<%Response.Write(FreeTextBox1.ImageGalleryUrl); %>
</form>
</ body>
</ html>
Why is this not working?
Thanks,
Mike
|
|
-
11-30-2006, 12:41 AM |
-
DerekF
-
-
-
Joined on 05-12-2006
-
-
Posts 8
-
-
|
I would like to hear the answer to this as I am having this issue as well.
Thanks, Derek
|
|
-
-
09-17-2008, 7:04 PM |
-
wadewalker25
-
-
-
Joined on 09-17-2008
-
-
Posts 8
-
-
|
Wow... it's 2008, and the last post for this was last year 2007...
Bad thing is, I'm having the similar issues. That's not very good service, especially since i've received no response in any of my forum posts...
In any case, if there is someone who can solve this. I'm using ver. 3.1.6, IE7, vs2008. I've followed the instructions to the letter. My problem is, when I click on the upload image icon, i actually do get the upload modal to come up. However, there is nowhere in this modal that i can actually upload a file. What the heck am i missing?
I'd put a screen print on here, but I can't... irony...
|
|
Page 1 of 2 (16 items)
1
|
|