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

[Solved] RadCodeBlock implementation

3 Answers 33 Views
RadEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Frank
Top achievements
Rank 1
Frank asked on 21 Sep 2009, 12:32 PM
I am using the free raditor for moss in a share point WSS implementation. I have recently added some server side code to the masterpage. The causes errors in the rad editor.  The documentation calls to wrap the server side code with a radcodeblock. I need some assistance in getting that going.

Where do I download the Telerik.Web.UI.dll?
Do I add to the GAC?

Is this example the expected way to implement?
<head>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<% my code ... SPweb calls
%>
</telerik:RadCodeBlock
</head>

What does the tag prefix look like for telerik?
<%@ Register Tagprefix="telerik" Namespace="" Assembly=", Version=12.0.0.0, Culture=neutral, PublicKeyToken= " %>

Any help would be appreciated.
Thanks
Frank


3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 23 Sep 2009, 01:39 PM
Hi Frank,

In order to use the Telerik.Web.UI.dll you need to install the full version of RadEditor for MOSS 5.x. The latest one is 5.5.1. When you deploy the wsp solution Telerik.Web.UI.dll will be automatically added to the GAC.

Could you please check if removing runat="server" attribute from the head tag will solve your problem. There might be no need of using RadCodeBlock.

Kind regards,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Frank
Top achievements
Rank 1
answered on 23 Sep 2009, 02:11 PM
I tried to remove the run at server from the head tag. It does not work. Any other ideas on how to get the server side code and the free rad editor to work together?
Thanks
Frank
0
Stanimir
Telerik team
answered on 25 Sep 2009, 08:03 AM
Hi Frank,

Could you please send us the code of your page? This way we will be able to try reproducing the problem on our test server.

Sincerely yours,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
RadEditor
Asked by
Frank
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Frank
Top achievements
Rank 1
Share this question
or