Rank: Newbie Groups: Member
Joined: 5/17/2010 Posts: 4
|
Hello, i have problems with the HTML editor, all works correcty except the insert image button. It shows correctly the popup but when i click the browse button, i obtain this message:
Dialog especified by the FileExplorerDialogID must contain a FileExplorerHolder control. I hace included a FileExplorerHolder control, but i dont know if my code is correctly.
This is my code. Thanks for all. I will be very pleased if i can obtain the code of the demo, to take a sight on it.
<eo:Editor ID="Editor1" runat="server" FileExplorerDialogID="Dialog1" ColorPickerID="ColorPicker1" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Height="320px" HighlightColor="255, 255, 192" ToolBarSet="Full" Width="500px" DesignTabButtonText="<div style="padding-left:0px;padding-top:3px;">Design</div>" HtmlTabButtonText="<div style="padding-left:1px;padding-top:3px;">HTML</div>" PreviewTabButtonText="<div style="padding-left:18px;padding-top:3px;">Preview</div>" ToolBarSkin="Office2003_XPStyle"> <FooterStyle CssText="padding-right: 2px; padding-left: 2px; padding-bottom: 2px; padding-top: 0px; background-color:#9ebef5;" /> <BreadcrumbItemStyle CssText="background-color:#d7e4fa;border-bottom-color:#002d96;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#002d96;border-left-style:solid;border-left-width:1px;border-right-color:#002d96;border-right-style:solid;border-right-width:1px;border-top-color:#002d96;border-top-style:solid;border-top-width:1px;font-family:tahoma;font-size:12px;margin-top:1px;padding-bottom:1px;padding-left:3px;padding-right:3px;padding-top:1px;" /> <EmoticonStyle CssText="background-color:white;border-bottom-color:#c5d3ed;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#c5d3ed;border-left-style:solid;border-left-width:1px;border-right-color:#c5d3ed;border-right-style:solid;border-right-width:1px;border-top-color:#c5d3ed;border-top-style:solid;border-top-width:1px;padding-bottom:2px;padding-left:2px;padding-right:2px;padding-top:2px;" /> <BreadcrumbItemHoverStyle CssText="background-color:#ffd69c;border-bottom-color:#002d96;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#002d96;border-left-style:solid;border-left-width:1px;border-right-color:#002d96;border-right-style:solid;border-right-width:1px;border-top-color:#002d96;border-top-style:solid;border-top-width:1px;font-family:tahoma;font-size:12px;margin-top:1px;padding-bottom:1px;padding-left:3px;padding-right:3px;padding-top:1px;" /> <HeaderStyle CssText="background-color:#9ebef5;padding-bottom:1px;padding-left:2px;padding-right:2px;padding-top:2px;" /> <BreadcrumbItemSeparatorStyle CssText="width: 3px; height: 10px" /> <DesignTabButtonStyles> <NormalStyle CssText="font-size: 12px; background-image: url(00102001); width: 63px; font-family: tahoma; height: 21px" /> <HoverStyle CssText="font-size: 12px; background-image: url(00102002); width: 63px; font-family: tahoma; height: 21px" /> <SelectedStyle CssText="font-size: 12px; background-image: url(00102003); width: 63px; font-family: tahoma; height: 21px" /> </DesignTabButtonStyles> <EmoticonDropDownStyle CssText="border-right: #435f96 1px solid; border-top: #435f96 1px solid; border-left: #435f96 1px solid; border-bottom: #435f96 1px solid; background-color: #eef3fa" /> <BreadcrumbLabelStyle CssText="padding-right: 6px; padding-left: 6px; font-size: 12px; padding-top: 1px; font-family: tahoma" /> <PreviewTabButtonStyles> <NormalStyle CssText="font-size: 12px; background-image: url(00102007); width: 63px; font-family: tahoma; height: 21px" /> <HoverStyle CssText="font-size: 12px; background-image: url(00102008); width: 63px; font-family: tahoma; height: 21px" /> <SelectedStyle CssText="font-size: 12px; background-image: url(00102009); width: 63px; font-family: tahoma; height: 21px" /> </PreviewTabButtonStyles> <BreadcrumbDropDownStyle CssText="border-right: #435f96 1px solid; border-top: #435f96 1px solid; border-left: #435f96 1px solid; border-bottom: #435f96 1px solid; background-color: #eef3fa" /> <HtmlTabButtonStyles> <NormalStyle CssText="font-size: 12px; background-image: url(00102004); width: 63px; font-family: tahoma; height: 21px" /> <HoverStyle CssText="font-size: 12px; background-image: url(00102005); width: 63px; font-family: tahoma; height: 21px" /> <SelectedStyle CssText="font-size: 12px; background-image: url(00102006); width: 63px; font-family: tahoma; height: 21px" /> </HtmlTabButtonStyles> <EditAreaStyle CssText="border-bottom-color:gray;border-bottom-style:solid;border-bottom-width:1px;border-left-color:gray;border-left-style:solid;border-left-width:1px;border-right-color:gray;border-right-style:solid;border-right-width:1px;border-top-color:gray;border-top-style:solid;border-top-width:1px;" /> <CustomFooterTemplate> <div style="FLOAT: left; WIDTH: 200px;"> <asp:PlaceHolder ID="ViewTabs" runat="server"></asp:PlaceHolder> </div> <div style="padding-top:1px"> <asp:PlaceHolder ID="Breadcrumb" runat="server"></asp:PlaceHolder> </div> </CustomFooterTemplate> </eo:Editor> <eo:ColorPicker ID="ColorPicker1" runat="server" ControlSkinID="None" > <PopupStyle CssText="border-right: #999999 1px solid; border-top: #999999 1px solid; font-size: 10pt; border-left: #999999 1px solid; color: #0751b8; border-bottom: #999999 1px solid; font-family: arial; background-color: white" /> <TextBoxStyle CssText="border-right: #7f9db9 1px solid; border-top: #7f9db9 1px solid; border-left: #7f9db9 1px solid; border-bottom: #7f9db9 1px solid" /> </eo:ColorPicker> <eo:FileExplorerHolder ID="FileExplorerHolder1" runat="server"> </eo:FileExplorerHolder> <eo:Dialog ID="Dialog1" runat="server" BackColor="White" Height="200px" Width="300px"> </eo:Dialog>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The FileExplorerHolder must be inside the Dialog's ContentTemplate. You can go to Start -> All Programs -> EO.Web Controls 7.0 (2009) -> EO.Web Controls for ASP.NET xxx -> Live Demo -> Live Demo Source Code to take a look of the demo source code (or simply copy and paste from there) and that should help you to see how it works.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 5/17/2010 Posts: 4
|
Thanks a lot
|