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

[Solved] Editable iFrame not properly initialized

5 Answers 181 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jimmy
Top achievements
Rank 1
Jimmy asked on 03 Jun 2009, 02:37 PM
Hello.

I have successfully developed and deployed a SharePoint WebPart containing a RADEditor. It works fine on my test set up.
Today I deployed the solution to another server, and now it suddently dosn't work anymore.

The RADEditor is displayed fine with buttons (Bold, Italic and Underline is all I have). Unfortunately the content area (editable iFrame) does not seem to be properly initialized. I can't type anything into it. The HTML source dosn't contain an iFrame element either.

What could be wrong? I deployed both Telerik.Web.UI.dll and the Telerik.Web.Design.dll to the server's GAC, and added SafeControl entries to the web.config file. The version installed is 2009.1.402.35.

<

SafeControl Assembly="Telerik.Web.UI, Version=2009.1.402.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />

 

<

SafeControl Assembly="Telerik.Web.Design, Version=2009.1.402.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" />

 


The SafeControls displayed above, gives me a working set up on one of my servers.

Any suggestions are much appriciated. Thanks :)

Regards
Jimmy Thomsen

5 Answers, 1 is accepted

Sort by
0
Jimmy
Top achievements
Rank 1
answered on 03 Jun 2009, 02:39 PM
I don't need to set up all the AJAX stuff, when all I need is Bold, Italic and Underline, right ?
0
Accepted
Rumen
Telerik team
answered on 08 Jun 2009, 06:59 AM
Hi Jimmy,

RadEditor for ASP.NET Ajax is based on ASP.NET AJAX and it leverage the client and server side platform provided by ASP.NET Ajax. Hence you need to install ASP.NET Ajax 1.0 or ASP.NET Ajax 3.5 prior to deploying RadControls for ASP.NET Ajax to your MOSS site. You cannot use RadEditor for MOSS without a Asp:ScriptManager on the page and without ajaxifiying your project.

Let us know if your scenario is other and we are missing something.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jimmy
Top achievements
Rank 1
answered on 08 Jun 2009, 11:39 AM
Hi Rumen.

Thank you for replying back.
I performed a full deployment of the Telerik package and configured AJAX, which solved the problem. Thank you very much.

Perhaps you could help me a little further, by answerering a few other questions in regards to this problem.

  1. Is the only difference between "RadControls for ASP .NET" and "RadControls for ASP .NET AJAX" the AJAXification?
  2. Why does the exe-installer deploy the Telerik.Web.Design.dll file to the GAC, and not the Telerik.Web.UI.dll file which is also needed?
  3. Why am I able to use the various skins for the editor, even after I've removed them from the Program Files folder? If they are embedded into the DLL, then why are they also installed into the Program Files folder?

 

What I'm really interested in knowing, is what exactly I need to deploy, in order to enable full functionality of the RADControls. I don't care about demos, documentation, VS .NET integration and all that - just the components needed when deploying solutions based on RADControls.

I hope you are able to answer the 4 questions above. Thanks in advance.

Regards
Jimmy Thomsen

0
Accepted
Tervel
Telerik team
answered on 10 Jun 2009, 09:06 AM
Hello Jimmy,

1.Is the only difference between "RadControls for ASP .NET" and "RadControls for ASP .NET AJAX" the AJAXification?
There are significant differences - the newer AJAX suite provides many enhancement - such as easier deployment (single DLL), built-in scrpts, skins, many new features, better browser support (for newer browser versions) - to name a few. The Classic suite is gradually being phased out in favor of the AJAX suite.

2. Why does the exe-installer deploy the Telerik.Web.Design.dll file to the GAC, and not the Telerik.Web.UI.dll file which is also needed?
The Web.UI dll is not in the GAC, because it needs to be in the bin folder of your web projects. If it is not in the bin folder, the projects will fail when you deploy them on a production server. The Design dll is only needed during development and should not be on the production server, which is why we put it in the GAC.


3. Why am I able to use the various skins for the editor, even after I've removed them from the Program Files folder? If they are embedded into the DLL, then why are they also installed into the Program Files folder?
As mentioned in #1, by default control scripts and skins are included in the Telerik.Web.UI.dll (of course, you can run scripts and skins from external locations, if you need it. This is documented in the help). The scripts and skins are provided in the installation for this very purpose - only if you need them.

4. What I'm really interested in knowing, is what exactly I need to deploy, in order to enable full functionality of the RADControls.

All you need is one file only - Telerik.Web.UI.dll. All the controls, with all their out-of-the-box functionality is in this dll.


Sincerely yours,
Tervel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jimmy
Top achievements
Rank 1
answered on 12 Jun 2009, 06:37 AM

Hi Tervel.

Thanks a lot. Your answers were just what I was looking for :)

Tags
Editor
Asked by
Jimmy
Top achievements
Rank 1
Answers by
Jimmy
Top achievements
Rank 1
Rumen
Telerik team
Tervel
Telerik team
Share this question
or