This is a migrated thread and some comments may be shown as answers.

IE rendering problem and Web.Config registration is missing

6 Answers 153 Views
Editor
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 19 Jan 2009, 10:57 AM
Hi all!

First of all let me say you did a great work in Prometheus. Controls are absolutely amazing, I have never seen anything like this in my life! Very good work.

Unfortunately I have two issues:

1. The RadEditor is not rendered properly as you can see below. Don't know why, but others browsers are ok. I'll try another skin, but this my favour.

IE 7 Version: 7.0.6001.18000
Chrome: 1.0.154.43
Firefox: 3.0.5

http://www.amdreality.cz/IE.jpg
http://www.amdreality.cz/firefox.jpg
http://www.amdreality.cz/chrome.jpg

2. The second problem makes me crazy for a long time! When I use VS 2008 and debug the website I can open the image manager and others dialogs without any problem. But, when I deploy my solution to MOSS 2007 I'm not able to open any dialogs which are handled by DialogHandler. I know, i know, there were few threads about registering the handlers in Web.Config. I saw all of them and tried everything but nothing :((

Here is part of my web.config:

  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules>
      <remove name="ScriptModule" />
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </modules>
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral,

PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0,

Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0,

Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.3.1125.35, Culture=neutral,

PublicKeyToken=121fae78165ba3d4" />
      <add name="Telerik.Web.UI.DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.3.1125.35, Culture=neutral,

PublicKeyToken=121fae78165ba3d4" />
    </handlers>
  </system.webServer>

But as I said before everything is ok when I use asp .net development server (cause web.config of sharepoint is different then web.config of my web application, i know, but the registration code is same in both files). What's wrong?

Thank you very much for your help

6 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 19 Jan 2009, 11:21 AM
I forgot to write that the RadEditor is not rendered only when I access sharepoint site with IE. In asp. net dev server the editor seems ok.
0
David
Top achievements
Rank 1
answered on 19 Jan 2009, 11:30 AM
Another post: I think I have the same problem as man posted here:

http://www.telerik.com/community/forums/aspnet-ajax/editor/web-config-registration-missing.aspx

Can you please tell me how did you solve that?
0
David
Top achievements
Rank 1
answered on 19 Jan 2009, 12:10 PM
I also tried this advice from Lini:


And this is what i receive after click on image manager button:


(File DialogHandler.aspx doesn't exist - in English)
0
Accepted
Lini
Telerik team
answered on 19 Jan 2009, 01:13 PM
Hello,

The IE rendering problem with the Office 2007 skin is a known issue and it has been fixed in the current editor for MOSS release (version 5.32). You should either update to the latest version or change the skin.

As for the dialog handler problem - SharePoint has its own handler for aspx pages, which overrides the default ASP.NET one. This is probably why you can use the dialogs in a standalone solution but have problems in the MOSS web application. Another reason for the problems might be IIS. If the MOSS web application is running in IIS 7 Integrated mode, then the web.config entries should be in the <system.WebServer> section (like you pasted). However, if you are running in IIS 7 Classic mode or IIS 6 (Windows Server 2003), then the <httpHandler> entries should be in the <system.web> section of the Web.config file.

I am not sure exactly why you get the error (file does not exist). Check the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\ folders and make sure Telerik.Web.UI.DialogHandler.aspx exists.

Kind regards,
Lini
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
David
Top achievements
Rank 1
answered on 19 Jan 2009, 02:02 PM
Hi,

OMG, thank you very much! It's working now! You are great, thanks again! We buy your components ASAP.

However if I were you I'd place this solution to instructions how to install and deploy components to Sharepoint environments. I supposse I wasn't the only one who has this problem.

Greetings

Dave
0
Lini
Telerik team
answered on 20 Jan 2009, 04:12 PM
Hello Dave,

We are glad that you managed to resolve your issues.

Usually, when people decide to use our editor in their SharePoint solutions, they use the MOSS specific version - MOSSRadEditor control from the RadEditorSharePoint assembly you deploy with the RadEditor for MOSS solution. For more information, see http://www.telerik.com/help/aspnet-ajax/radeditor-in-custom-moss-solutions.html. This control is tied to the MOSS web application and its file browser dialogs work with SharePoint libraries instead of physical files in the application.

Kind regards,
Lini
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Lini
Telerik team
Share this question
or