We are moving our application towards MVC.
MVC requires Integrated mode to work normally.
I changed all our Telerik handlers and modules in the web config like so.
I modified the control tag to be so (I added the HandlerUrl)
In the code behind we do a little customization.
However I get this odd error.
Cannot read the configuration/dictionary language parameters!
http://imgur.com/CqzNseX
I used fiddler to have a look at what we are sending and it is doing a get
I'm not sure what is going wrong here. I have breakpoints in my SpellCheck provider but they are not getting hit.
MVC requires Integrated mode to work normally.
I changed all our Telerik handlers and modules in the web config like so.
<handlers> <add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" /> <add name="Telerik.Web.UI.SpellCheckHandler.axd_*" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" /> <add name="Telerik.Web.UI.DialogHandler.aspx_*" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" /> <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode" /> <add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode" /></handlers><modules runAllManagedModulesForAllRequests="true"> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler" /></modules>I modified the control tag to be so (I added the HandlerUrl)
<Telerik:RadSpell ID="RadSpell1" runat="server" ButtonType="None" AllowAddCustom="false" Language="en-CA" HandlerUrl="~/Telerik.Web.UI.SpellCheckHandler.axd" />In the code behind we do a little customization.
'Script file to remove js alert and confirm dialogsRadSpell1.DialogsScriptFile = CType(Page.Master, BaseMaster).AppendVersion("~/scripts/RadSpellFIX.js")'Style to make spellcheck buttons largerIf Request.Cookies("theme") IsNot Nothing AndAlso Request.Cookies("theme").Value = "nightmode" Then RadSpell1.DialogsCssFile = CType(Page.Master, BaseMaster).AppendVersion("~/style/SpellCheckPopupStyle-night.css")Else RadSpell1.DialogsCssFile = CType(Page.Master, BaseMaster).AppendVersion("~/style/SpellCheckPopupStyle.css")End If'Replacing default spell check engine withOpenOffice one.RadSpell1.SpellCheckProviderTypeName = GetType(Telerik.Web.UI.NHunSpellCheckProvider).AssemblyQualifiedNameRadSpell1.OnClientCheckFinished = "function(sender, args) {" & _ "args.suppressCompleteMessage = true;" & _ "$('<div>Spell Check completed successfully.</div>').dialog({" & _ "autoOpen: true," & _ "modal: true," & _ "title: 'Spell Check complete'," & _ "buttons: { 'OK': function () { " & _ "$(this).dialog('close'); " & _ String.Format("$('#{0}').click();", butPushUndoStackExternal.ClientID) & _ "} }" & _ "});" & _ "}"However I get this odd error.
Cannot read the configuration/dictionary language parameters!
http://imgur.com/CqzNseX
I used fiddler to have a look at what we are sending and it is doing a get
Accept: text/html, application/xhtml+xml, */*Accept-Language: en-CAUser-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)Accept-Encoding: gzip, deflateHost: localhostConnection: Keep-AliveCookie: ASP.NET_SessionId=v2hx0j0y3ukj300ckgvnpl40I'm not sure what is going wrong here. I have breakpoints in my SpellCheck provider but they are not getting hit.