I'm having trouble getting my dialog boxes to work (Image Manager).
The code works fine in the main page of our site, the handler code is added to the web config. I suspect the issue has something to do with the fact that the website to which I am trying to add the editor is running as a subapplication of our main website, so it is not finding the proper path for the user controls?
The code works fine in the main page of our site, the handler code is added to the web config. I suspect the issue has something to do with the fact that the website to which I am trying to add the editor is running as a subapplication of our main website, so it is not finding the proper path for the user controls?
<
telerik:radeditor runat="server" ID="radEditor" AllowScripts="false" OnClientCommandExecuting="OnClientCommandExecuting" OnClientLoad="OnClientLoad" AutoResizeHeight=false EnableResize="false" Skin="Vista" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" />
Web config:
<
httpHandlers
>
<
remove
verb
=
"*"
path
=
"*.asmx"
/>
<
add
verb
=
"*"
path
=
"*.asmx"
validate
=
"false"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
verb
=
"*"
path
=
"*_AppService.axd"
validate
=
"false"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
verb
=
"GET,HEAD"
path
=
"ScriptResource.axd"
type
=
"System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.DialogHandler.axd"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
verb
=
"*"
validate
=
"false"
/>
</
httpHandlers
>
The spell check is also throwing a JSON error. I am not sure if this is related also. Again, this is all working fine on one page, but not on another.
I think it just can't find the dialog contrl. Any suggestions on how to get this working?
Thanks!