Rank: Member Groups: Member
Joined: 11/11/2009 Posts: 16
|
Hi, when i load a page with the editor i receive this error:
Code: C#
[NullReferenceException: Object reference not set to an instance of an object.]
EO.Web.Internal.bk.a(ik A_0, String A_1) +39
EO.Web.ElementStyle.a(WebControl A_0, Boolean A_1) +179
EO.Web.NavigationItemStyles.a(Boolean A_0) +121
EO.Web.Editor.q() +271
EO.Web.Editor.a(EventArgs A_0) +21
System.Web.UI.Control.PreRenderRecursiveInternal() +80
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
What is the cause?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please try to isolate the problem into a test page. Once we have that we will try to run it here and if we see the same problem, we should be able to tell you what caused it.
Thanks!
|
Rank: Member Groups: Member
Joined: 11/11/2009 Posts: 16
|
Hi, this is the test page that contains only the editor and the error is the same:
Code: HTML/ASPX
<form id="form1" runat="server">
<div>
<eo:Editor ID="eoDescrizione" runat="server" Width="100%" Height="500px"
DesignTabButtonText="<div style="padding-left:18px;padding-top:3px;">Design</div>"
Font-Bold="False" Font-Italic="False" Font-Overline="False"
Font-Strikeout="False" Font-Underline="False" HighlightColor="255, 255, 192"
HtmlTabButtonText="<div style="padding-left:18px;padding-top:3px;">HTML</div>"
PreviewTabButtonText="<div style="display:none;padding-left:18px;padding-top:3px;">Preview</div>"
ToolBarItems="Copy:Copia,Cut:Taglia,Paste:Incolla,ClearFormat:Cancella formattazione,,Undo:Indietro,Redo:Ripristina,,InsertOrEditImage:Inserisci Modifica immagine,InsertOrEditLink:Inserisci Modifica collegamento,InsertOrEditAnchor:Inserisci Modifica ancora,RemoveLink:Rimuovi collegamento,,BulletList:Elenco puntato,NumberedList:Elenco numerato,,Indent:Aumenta rientro,Outdent:Riduci rientro;Fonts:Carattere,FontSizes:Dimensione,Bold:Grassetto,Italic:Corsivo,Underline:Sottolineato,,AlignLeft:Allinea testo a sinistra,AlignCenter:Allinea testo al centro,AlignRight:Allinea testo a destra,AlignJustify:Giustifica,,Find:Trova;ForeColor:Colore carattere,BackColor:Colore di sfondo del testo,,InsertLine:Inserisci linea orizzontale,,InsertOrEditTable:Inserisci Modifica tabella,Table_InsertRowAbove:Inserisci riga sopra,Table_InsertRowBelow:Inserisci riga sotto,Table_DeleteRow:Elimina lintera riga,Table_InsertColumnLeft:Inserisci colonna a sinistra,Table_InsertColumnRight:Inserisci colonna a destra,Table_DeleteColumn:Elimina colonna,Table_MergeCellsDown:Unisci celle in basso,Table_MergeCellsRight:Unisci celle a destra,Table_SplitCellHorz:Diviti celle orizzontalmente,Table_SplitCellVert:Dividi celle verticalmente,,SpellCheck:Controllo ortografico"
ToolBarSet="Custom" ToolBarSkin="Office2003_XPStyle"
FileExplorerDialogID="eoFileExplorerDiag"
FileExplorerUrl="~/admin/Explorer.aspx" ColorPickerID="eoColorPicker"
SpellCheckerID="eoSpellChecker" BreadcrumbLabelText="Percorso:">
<DialogContents>
<eo:EditorDialogContent CommandName="InsertOrEditImage" Title="Inserisci/modifica immagine">
<ContentTemplate>
<table cellspacing="3" cellpadding="1" border="0">
<tr>
<td width="60px" nowrap="nowrap">URL:</td>
<td colspan="2" nowrap="nowrap">
<input type="text" name="eo_editor_insertimage_url" style="width:230px;" />
</td>
<td>
<input type="button" style="width:100px" value="Cerca sul server" onclick="eo_GetContainer(this, 'Editor').browseFile(this, 'eo_editor_insertimage_url', 'Sfoglia immagini', 'images');" />
</td>
</tr>
<tr>
<td>Descrizione:</td>
<td colspan="3">
<input type="text" name="eo_editor_insertimage_desc" style="width:250px;" />
</td>
</tr>
<tr>
<td>Larghezza:</td>
<td>
<input type="text" name="eo_editor_insertimage_width" style="width:90px;" />
</td>
<td>Altezza:</td>
<td align="right">
<input type="text" name="eo_editor_insertimage_height" style="width:90px;" />
</td>
</tr>
<tr>
<td align="right" colspan="4">
<input type="button" name="eo_editor_default_button" value="OK" style="width:80px;" onclick="eo_GetContainer(this, 'Editor').execDialogCommand('InsertOrEditImage', this, event);" />
<input type="button" value="Chiudi" style="width:80px;" onclick="eo_GetContainer(this, 'Editor').closeDialog(this, event);" />
</td>
</tr>
</table>
</ContentTemplate>
</eo:EditorDialogContent>
<eo:EditorDialogContent CommandName="InsertOrEditLink" Title="Inserisci/modifica link">
<ContentTemplate>
<table cellspacing="3" cellpadding="1" border="0">
<tr>
<td width="60px" nowrap="nowrap">URL:</td>
<td colspan="2">
<input type="text" name="eo_editor_insertlink_url" style="width:250px;" />
</td>
<td>
<input type="button" style="width:100px" value="Cerca sul server" onclick="eo_GetContainer(this, 'Editor').browseFile(this, 'eo_editor_insertlink_url', 'Sfoglia file', 'files');" />
</td>
</tr>
<tr>
<td>Testo visualizzato:</td>
<td width="110px">
<input type="text" name="eo_editor_insertlink_text" style="width:100px;" />
</td>
<td width="50px">Target:</td>
<td align="right">
<input type="text" name="eo_editor_insertlink_target" style="width:80px" />
</td>
</tr>
<tr>
<td align="right" colspan="4">
<input type="button" name="eo_editor_default_button" value="OK" style="width:80px;" onclick="eo_GetContainer(this, 'Editor').execDialogCommand('InsertOrEditLink', this, event);"/>
<input type="button" value="Chiudi" style="width:80px;" onclick="eo_GetContainer(this, 'Editor').closeDialog(this, event);" />
</td>
</tr>
</table>
</ContentTemplate>
</eo:EditorDialogContent>
<eo:EditorDialogContent CommandName="InsertOrEditAnchor" Title="Inserisci/modifica ancora">
<ContentTemplate>
<table cellspacing="3" cellpadding="1" border="0">
<tr>
<td width="40px" nowrap="nowrap">Nome:</td>
<td>
<input type="text" name="eo_editor_insertanchor_name" style="width:250px;" />
</td>
</tr>
<tr>
<td>Testo visualizzato:</td>
<td>
<input type="text" name="eo_editor_insertanchor_text" style="width:250px;" />
</td>
</tr>
<tr>
<td align="right" colspan="2">
<input type="button" name="eo_editor_default_button" value="OK" style="width:80px;" onclick="eo_GetContainer(this, 'Editor').execDialogCommand('InsertOrEditAnchor', this, event);" />
<input type="button" value="Chiudi" style="width:80px;" onclick="eo_GetContainer(this, 'Editor').closeDialog(this, event);" />
</td>
</tr>
</table>
</ContentTemplate>
</eo:EditorDialogContent>
<eo:EditorDialogContent CommandName="Find" Title="Trova e sostituisci">
<ContentTemplate>
<div style="width:500px">
<table cellspacing="3" cellpadding="1" border="0" style="float:right;">
<tr>
<td>
<input type="button" name="eo_editor_default_button" value="Trova successivo" style="width:110px;" onclick="eo_GetContainer(this, 'Editor').execDialogCommand('FindNext', this, event);" />
</td>
</tr>
<tr>
<td>
<input type="button" value="Sostituisci" style="width:110px;" onclick="eo_GetContainer(this, 'Editor').execDialogCommand('FindReplace', this, event);"/>
</td>
</tr>
<tr>
<td>
<input type="button" value="Sostituisci tutto" style="width:110px;" onclick="eo_GetContainer(this, 'Editor').execDialogCommand('FindReplaceAll', this, event);"/>
</td>
</tr>
<tr>
<td>
<input type="button" value="Chiudi" style="width:110px;" onclick="eo_GetContainer(this, 'Editor').closeDialog(this, event);" />
</td>
</tr>
</table>
<table cellspacing="3" cellpadding="1" border="0">
<tr>
<td width="90px" nowrap="nowrap">Trova:</td>
<td>
<input type="text" name="eo_editor_find_text" style="width:200px;" />
</td>
</tr>
<tr>
<td>Sostituisci con:</td>
<td>
<input type="text" name="eo_editor_replace_with" style="width:200px;" />
</td>
</tr>
</table>
<table cellspacing="3" cellpadding="1" border="0">
<tr>
<td colspan="2" width="230px" valign="top">
<input type="checkbox" name="eo_editor_find_match_whole_word" value="match_whole_word" /> Parola intera <br />
<input type="checkbox" name="eo_editor_find_match_case" value="match_case" /> Maiuscole/minuscole
</td>
<td>
<fieldset style="width:150px;">
<legend>Direzione</legend>
<input type="radio" name="eo_editor_find_dir" /> Su <br />
<input type="radio" name="eo_editor_find_dir" checked="checked" /> Giù <br />
</fieldSet>
</td>
</tr>
</table>
</div>
</ContentTemplate>
</eo:EditorDialogContent>
<eo:EditorDialogContent CommandName="InsertOrEditTable" Title="Inserisci/modifica tabella">
<ContentTemplate>
<table cellspacing="3" cellpadding="1" border="0">
<tr>
<td width="60px" nowrap="nowrap">Colonne:</td>
<td>
<input type="text" name="eo_editor_table_cols" style="width:100px;" />
</td>
<td width="60px" nowrap="nowrap">Righe:</td>
<td>
<input type="text" name="eo_editor_table_rows" style="width:100px;" />
</td>
</tr>
<tr>
<td nowrap="nowrap">Larghezza:</td>
<td>
<input type="text" name="eo_editor_table_width" style="width:100px;" />
</td>
<td nowrap="nowrap">Altezza:</td>
<td>
<input type="text" name="eo_editor_table_height" style="width:100px;" />
</td>
</tr>
<tr>
<td nowrap="nowrap">Dimensione bordo:</td>
<td>
<input type="text" name="eo_editor_table_bordersize" style="width:100px;" />
</td>
<td nowrap="nowrap">Colore bordo:</td>
<td>
<input type="text" name="eo_editor_table_bordercolor" style="width:100px;" />
</td>
</tr>
<tr>
<td nowrap="nowrap">Spaziatura interna celle:</td>
<td>
<input type="text" name="eo_editor_table_cellpadding" style="width:100px;" />
</td>
<td nowrap="nowrap">Spaziatura esterna celle:</td>
<td>
<input type="text" name="eo_editor_table_cellspacing" style="width:100px;" />
</td>
</tr>
<tr>
<td colspan="4">
<input type="checkbox" name="eo_editor_table_bordercollapse" /> Comprimi bordi
</td>
</tr>
<tr>
<td align="right" colspan="4">
<input type="button" name="eo_editor_default_button" value="Inserisci" style="width:80px;" onclick="eo_GetContainer(this, 'Editor').execDialogCommand('InsertOrEditTable', this, event);" />
<input type="button" value="Chiudi" style="width:80px;" onclick="eo_GetContainer(this, 'Editor').closeDialog(this, event);" />
</td>
</tr>
</table>
</ContentTemplate>
</eo:EditorDialogContent>
<eo:EditorDialogContent CommandName="Paste" Title="Incolla">
<ContentTemplate>
<p>
Premere Ctrl+V per incollare il testo, infine cliccare su OK.
</p>
<div style="border: solid 1px #7f9db9;background-color:white;">
<textarea rows="13" cols="20" name="eo_editor_paste_text" style="width:400px;height:250px;">
</textarea>
</div>
<p style="text-align:right;">
<input type="button" name="eo_editor_default_button" value="OK" style="width:80px;" onclick="eo_GetContainer(this, 'Editor').execDialogCommand('Paste', this, event);" />
<input type="button" value="Chiudi" style="width:80px;" onclick="eo_GetContainer(this, 'Editor').closeDialog(this, event);" />
</p>
</ContentTemplate>
</eo:EditorDialogContent>
</DialogContents>
<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="display:none;font-size: 12px; background-image: url(00102007); width: 63px; font-family: tahoma; height: 21px" />
<HoverStyle CssText="display:none;font-size: 12px; background-image: url(00102008); width: 63px; font-family: tahoma; height: 21px" />
<SelectedStyle CssText="display:none;font-size: 12px; background-image: url(00102010); 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:Dialog ID="eoFileExplorerDiag" runat="server" AllowResize="True"
CloseButtonUrl="00020440" ControlSkinID="None" HeaderHtml="GAMMA COMMERCE - Esplora risorse"
HeaderHtmlFormat="<div style="padding-top:4px">{0}</div>"
HeaderImageHeight="27" HeaderImageUrl="00020441" Height="600px" MinHeight="100"
MinWidth="150" Width="800px" AcceptButton="fehOK"
CancelButton="fehAnnulla">
<HeaderStyleActive CssText="background-image:url(00020442);color:#444444;font-family:'trebuchet ms';font-size:10pt;font-weight:bold;padding-bottom:7px;padding-left:8px;padding-right:0px;padding-top:0px;" />
<BorderImages BottomBorder="00020409,00020429"
BottomLeftCorner="00020408,00020428" BottomRightCorner="00020410,00020430"
LeftBorder="00020406,00020426" RightBorder="00020407,00020427"
TopBorder="00020402,00020422" TopLeftCorner="00020401,00020421"
TopLeftCornerBottom="00020404,00020424" TopRightCorner="00020403,00020423"
TopRightCornerBottom="00020405,00020425" />
<FooterStyleActive CssText="background-color:#f0f0f0; padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<ContentStyleActive CssText="background-color:#f0f0f0;font-family:tahoma;font-size:8pt;padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px" />
<ContentTemplate>
<eo:FileExplorerHolder ID="FileExplorerHolder1" runat="server" Url="~/admin/Explorer.aspx" Width="100%" Height="585px">
</eo:FileExplorerHolder>
<div style="height:15px; text-align:right; margin-bottom:5px;">
<asp:Button ID="fehOK" runat="server" Text="OK" />
<asp:Button ID="fehAnnulla" runat="server" Text="Annulla" />
</div>
</ContentTemplate>
</eo:Dialog>
<eo:ColorPicker ID="eoColorPicker" runat="server" ControlSkinID="None"
TitleText="Seleziona colore:" WebSafeLabelText="Solo colori sicuri per il web">
<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:SpellChecker ID="eoSpellChecker" runat="server"
AddCustomMenuItemText="Aggiungi al dizionario" ControlToCheck="eoDescrizione"
DialogID="eoSpellCheckerDialog" IgnoreAllMenuItemText="Ignora tutto"
IgnoreOnceMenuItemText="Ignora" Language="it-IT"
NoSuggestionMenuItemText="(Nessun suggerimento)">
</eo:SpellChecker>
<eo:SpellCheckerDialog ID="eoSpellCheckerDialog" runat="server"
AllowResize="True" CloseButtonUrl="00020440" ControlSkinID="None"
HeaderHtml="Controllo ortografico"
HeaderHtmlFormat="<div style="padding-top:4px">{0}</div>"
HeaderImageHeight="27" HeaderImageUrl="00020441" Height="216px" MinHeight="100"
MinWidth="150" WaitMessage="Attendere..." Width="320px">
<HeaderStyleActive CssText="background-image:url(00020442);color:#444444;font-family:'trebuchet ms';font-size:10pt;font-weight:bold;padding-bottom:7px;padding-left:8px;padding-right:0px;padding-top:0px;" />
<BorderImages BottomBorder="00020409,00020429"
BottomLeftCorner="00020408,00020428" BottomRightCorner="00020410,00020430"
LeftBorder="00020406,00020426" RightBorder="00020407,00020427"
TopBorder="00020402,00020422" TopLeftCorner="00020401,00020421"
TopLeftCornerBottom="00020404,00020424" TopRightCorner="00020403,00020423"
TopRightCornerBottom="00020405,00020425" />
<FooterStyleActive CssText="background-color:#f0f0f0; padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<ContentTemplate>
<table border="0" cellpadding="3" cellspacing="0">
<tr>
<td colspan="3">
Contenuto:
</td>
</tr>
<tr>
<td colspan="2" valign="top" width="330px">
<asp:Panel ID="TextPanel" runat="server"
style="border-right: gray 1px solid; border-top: gray 1px solid; border-left: gray 1px solid; width: 330px; border-bottom: gray 1px solid; height: 150px">
</asp:Panel>
</td>
<td valign="top">
<asp:Button ID="IgnoreOnceButton" runat="server" Text="Ignora" Width="135px" />
<p>
<asp:Button ID="IgnoreAllButton" runat="server" Text="Ignora tutti"
Width="135px" />
</p>
<p>
<asp:Button ID="AddCustomButton" runat="server" Text="Aggiungi al dizionario"
Width="135px" />
</p>
</td>
</tr>
<tr>
<td colspan="3">
Suggerimenti:
</td>
</tr>
<tr>
<td colspan="2" valign="top" width="330px">
<asp:Panel ID="SuggestionPanel" runat="server"
style="border-right: gray 1px solid; border-top: gray 1px solid; border-left: gray 1px solid; width: 330px; border-bottom: gray 1px solid; height: 100px">
</asp:Panel>
</td>
<td valign="top">
<asp:Button ID="ChangeButton" runat="server" Text="Cambia" Width="135px" />
<p>
<asp:Button ID="ChangeAllButton" runat="server" Text="Cambia tutti"
Width="135px" />
</p>
</td>
</tr>
<tr>
<td nowrap="noWrap">
Cambia in:</td>
<td align="right">
<asp:TextBox ID="ChangeToText" runat="server" style="width:220px"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td align="right" colspan="3">
<asp:Button ID="CloseButton" runat="server" Text="Chiudi" Width="120px" />
</td>
</tr>
</table>
</ContentTemplate>
<ContentStyleActive CssText="background-color:#f0f0f0;font-family:tahoma;font-size:8pt;padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px" />
</eo:SpellCheckerDialog>
</div>
</form>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please remove
background-image:url(00102010);
from your PreviewTabButtonStyle -> SelectedStyle
That image does not exsit.
Thanks!
|