i am using template manage and track changes tools in the radEditor. i am doing all this in a popupWindow
when i click on these buttons then it shows me dialogs and these dialogs height is too much that i cannot close these dialogs because i it hides the close button.
how can i change the height of these dialogs.
another issue is that i am using radSpell also in this editor when i click on redSpell tool button then it works fine on my local machine but it give me 500 error on Live server.
i have putted the dictionary in this path App_Data\RadSpell\en-US.tdf
and also enter this in httpHandlers in web.config
and radEditor i have placed is
<telerik:RadEditor ID="editorMainDescription" runat="server" EditModes="Design, Html"
Height="180px" Skin="Office2007" ToolbarMode="ShowOnFocus" ToolsFile="EditorsTools.xml"
Width="570px">
<Content>
</Content>
<Languages>
<telerik:SpellCheckerLanguage Code="en-US" Title="US English" />
</Languages>
</telerik:RadEditor>
every thing is the same on local and live server.
please guide me that what thing i am missing.
Thanks a lot.
5 Answers, 1 is accepted
In the latest Q3 2008 release of RadControls for ASP.NET AJAX we implemented a new client-side method set_useClassicDialogs(true) which configures the editor to use the browser modal popup dialogs for its manager. Here is how to set it:
<script type="text/javascript">
function OnClientLoad(editor)
{
editor.set_useClassicDialogs(true);
}
</script>
<telerik:RadEditor ID="RadEditor1" OnClientLoad="OnClientLoad" runat="server"></telerik:RadEditor>
Another approach is to use the solution provided in the following article which demonstrates how to customize the dimensions of the editor's built-in dialogs: Resizing RadEditor's dialogs.
In regards to the spellchecker error: Please, send the whole error message by copying it with Ctrl+A and Ctrl+C from the warning dialog. I want to see the error message and after that I will be able to help.
Best regards,
Rumen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thanks for reply.
This is the error message.
Spell Check Handler Server Error:500
<html>
<head>
<title>No dictionary loaded. Set the DictionaryPath property before spellchecking.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/Chilli2' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>No dictionary loaded. Set the DictionaryPath property before spellchecking.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
<br><br>
<b> Exception Details: </b>System.ArgumentException: No dictionary loaded. Set the DictionaryPath property before spellchecking.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
Please, delete the following code
<Languages>
<telerik:SpellCheckerLanguage Code="en-US" Title="US English" />
</Languages>
and make sure that the en-US.tdf dictionary is indeed located in the App_Data\RadSpell\ folder and has the needed full ASPNET / NETWORK SERVICE permissions.
For your convenience I have attached a sample fully working project that demonstrates how the spellchecker work.
Kind regards,
Rumen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Hi Rumen,
Thanks.
I have removed this
<Languages>
<telerik:SpellCheckerLanguage Code="en-US" Title="US English" />
</Languages>
This is showing me the error.
On live server it is showing me the this error i have given the full right access to the RadSpell folder and also to the App_Data Folder.
it is workin fine on our local computers.
This is the full error message.
Spell Check Handler Server Error:500
<html>
<head>
<title>No dictionary loaded. Set the DictionaryPath property before spellchecking.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/Chillistore2' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>No dictionary loaded. Set the DictionaryPath property before spellchecking.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
<br><br>
<b> Exception Details: </b>System.ArgumentException: No dictionary loaded. Set the DictionaryPath property before spellchecking.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[ArgumentException: No dictionary loaded. Set the DictionaryPath property before spellchecking.]
Telerik.Web.UI.Dictionaries.EditDistanceDictionary.Load(TextReader baseDictionaryReader, ICustomDictionarySource customSource, String cacheKey) +152
Telerik.Web.UI.SpellChecker.LoadDictionary() +705
Telerik.Web.UI.SpellChecker.CheckWord(String word, String sLastWord) +246
Telerik.Web.UI.TelerikSpellCheckProvider.CheckWord(ITextWord current, ITextWord previous) +63
Telerik.Web.UI.SpellChecker.CheckText() +252
Telerik.Web.UI.SpellCheckHandler.ProcessSpellCheckRequest(String text) +70
Telerik.Web.UI.SpellCheckHandler.ProcessRequest(HttpContext context) +359
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
</font>
</body>
</html>
<!--
[ArgumentException]: No dictionary loaded. Set the DictionaryPath property before spellchecking.
at Telerik.Web.UI.Dictionaries.EditDistanceDictionary.Load(TextReader baseDictionaryReader, ICustomDictionarySource customSource, String cacheKey)
at Telerik.Web.UI.SpellChecker.LoadDictionary()
at Telerik.Web.UI.SpellChecker.CheckWord(String word, String sLastWord)
at Telerik.Web.UI.TelerikSpellCheckProvider.CheckWord(ITextWord current, ITextWord previous)
at Telerik.Web.UI.SpellChecker.CheckText()
at Telerik.Web.UI.SpellCheckHandler.ProcessSpellCheckRequest(String text)
at Telerik.Web.UI.SpellCheckHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--><!--
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
If the same project works properly on your local computer, but not on the live server then this is a configuration problem not related to RadSpell.
You should see what are the different IIS settings of your PC and the live server.
The problem can also happen if you are using impersonation: if this is your case please make sure that the impersonated user has write permissions.
Another suggestion is to grant full permissions over the everyone user and test again.
Best regards,
Rumen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.