Hi everyone.
I have downloaded the latest version for the RadControls suite and I am having problems with the following code:
aspx:
cs:
Then I load the page and click in the AJAX Spellchecker button in the toolbar, everything is fine (no mistakes in the content), but after a while (1 second approx.) you will get an error from /Telerik.Web.UI.SpellCheckHandler.axd ( I can see that using FireBug to trace the responses):
We have acquired the telerik suite with the source code also, and looking at the code I have detected an issue related to the SpellDialogParameters and the DialogParametersSerializer. I dont know if I should discuss this issue in the forum, but it has something to do with the serialization/deserialization process.
I am using the telerik dll for .net 3.5 and also the web.config is correctly configured, Windows 2003 Enterprise Edition Service Pack 2, Intel Core Duo 2.0, 1 gb RAM.
I hope that this issue could be solved by yours.
Thanks in advance.
I have downloaded the latest version for the RadControls suite and I am having problems with the following code:
aspx:
| <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication4._Default" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title>Untitled Page</title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager runat="server"> |
| </telerik:RadScriptManager> |
| <telerik:RadEditor ID="RadEditor1" runat="server"> |
| <Content> |
| </Content> |
| </telerik:RadEditor> |
| </form> |
| </body> |
| </html> |
cs:
| using System; |
| using Telerik.Web.UI; |
| namespace WebApplication4 |
| { |
| public partial class _Default : System.Web.UI.Page |
| { |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| RadEditor1.Language = "en-US"; |
| RadEditor1.EditModes = EditModes.Design | EditModes.Html; |
| RadEditor1.SpellCheckSettings.AllowAddCustom = false; |
| RadEditor1.SpellCheckSettings.SpellCheckProvider = SpellCheckProvider.EditDistanceProvider; |
| RadEditor1.SpellCheckSettings.EditDistance = 1; |
| RadEditor1.SpellCheckSettings.DictionaryLanguage = "en-US"; |
| RadEditor1.Skin = "Vista"; |
| RadEditor1.Content = @"After having talked a bit with these nice people we learned that we |
| learned that we were headed for the same destination, they were in fact |
| also on their other way to Italy. It turned out that we actually had |
| some things in common, all the four of us were interested in ancient |
| history and wished to see Vesuvius and Pompeii.<br /> |
| <br /> |
| <br /> |
| <a href=""#"">test</a> |
| <table> |
| <tbody> |
| <tr> |
| <td>test</td> |
| </tr> |
| </tbody> |
| </table> |
| <br /> |
| <img /> |
| "; |
| } |
| } |
| } |
Then I load the page and click in the AJAX Spellchecker button in the toolbar, everything is fine (no mistakes in the content), but after a while (1 second approx.) you will get an error from /Telerik.Web.UI.SpellCheckHandler.axd ( I can see that using FireBug to trace the responses):
| <html> |
| <head> |
| <title>Value cannot be null.<br> |
| Parameter name: InString</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 '/' Application.<hr width="100%" size="1" color="silver"> |
| </h1> |
| <h2> |
| <i>Value cannot be null.<br> |
| Parameter name: InString</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.ArgumentNullException: Value cannot be null.<br> |
| Parameter name: InString<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> |
| [ArgumentNullException: Value cannot be null. |
| Parameter name: InString] |
| System.Convert.FromBase64String(String s) +0 |
| Telerik.Web.Dialogs.DialogParametersSerializer.Deserialize(String serialized) +169 |
| Telerik.Web.UI.DialogParameters.Deserialize(String source) +6 |
| Telerik.Web.UI.SpellCheckHandler.ProcessRequest(HttpContext context) +225 |
| 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> |
| <!-- |
| [ArgumentNullException]: Value cannot be null. |
| Parameter name: InString |
| at System.Convert.FromBase64String(String s) |
| at Telerik.Web.Dialogs.DialogParametersSerializer.Deserialize(String serialized) |
| at Telerik.Web.UI.DialogParameters.Deserialize(String source) |
| 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) |
| --> |
We have acquired the telerik suite with the source code also, and looking at the code I have detected an issue related to the SpellDialogParameters and the DialogParametersSerializer. I dont know if I should discuss this issue in the forum, but it has something to do with the serialization/deserialization process.
I am using the telerik dll for .net 3.5 and also the web.config is correctly configured, Windows 2003 Enterprise Edition Service Pack 2, Intel Core Duo 2.0, 1 gb RAM.
I hope that this issue could be solved by yours.
Thanks in advance.