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

Find and replace icon

7 Answers 138 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Kriengsak Multongjard
Top achievements
Rank 1
Kriengsak Multongjard asked on 24 Sep 2010, 12:43 PM
Hi,

I'm using RadEditor in custom Aspx file which located under _layouts folder
but I am having problem with "Find and Replace" icon, when I click this icon popup diaglo appare as attached image (No text).

How to resolve this?

PS. Here is web.config of DialogHandler
    <add name="Telerik.Web.UI.DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.aspx"  /> 

Thanx,


7 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 27 Sep 2010, 09:32 AM
Hi Kriengsak,

Please, open the web.config file and rename the handler extension from .aspx to .axd , e.g.
Telerik.Web.UI.DialogHandler.axd

After that set the value of the RadEditor's DialogHandlerUrl property to Telerik.Web.UI.DialogHandler.axd


Greetings,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Kriengsak Multongjard
Top achievements
Rank 1
answered on 27 Sep 2010, 10:04 AM
Hi Stanimir,

Thk for ur replay. I have already follow ur steps but it still doesn't work. (Look in the attachment)

Do u hv any suggestions ?

PS. the custom aspx page that use RADEditor is place in "Template/_layouts" folder.

Thanks.
0
Stanimir
Telerik team
answered on 27 Sep 2010, 10:08 AM
Hello Kriengsak,

Could you provide me with your web.config file? I will review it and advise you further.

Regards,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Kriengsak Multongjard
Top achievements
Rank 1
answered on 27 Sep 2010, 10:18 AM
Hi Stanimir,

Here is a part of my Web.config

  <system.web>
..
...
    <httpHandlers>
      <remove verb="GET,HEAD,POST" path="*" />
      <add verb="GET,HEAD,POST" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      <add verb="OPTIONS,PROPFIND,PUT,LOCK,UNLOCK,MOVE,COPY,GETLIB,PROPPATCH,MKCOL,DELETE,(GETSOURCE),(HEADSOURCE),(POSTSOURCE)" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      <add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      <!--Ajax-->
      <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" />
      <!--End Ajax-->
      <!-- Telerik-->
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
<add path="~\Telerik.Web.UI.DialogHandler.axd" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
      <!-- End Telerik-->
      <add verb="*" path="*AsyncLeftNavHandler.ashx" type="DTAC.NCCA.DCARE.MenuLoading.Provider.AsyncMenuHandler, DTAC.NCCA.DCARE.MenuLoading, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6bb9e1869a4e4d4c" validate="false" />
    </httpHandlers>
...
..

Please tell me, if u need more informations.

Thanks,
0
Stanimir
Telerik team
answered on 28 Sep 2010, 01:36 PM
Hi Kriengsak,

Make sure that you are using the fully qualified name of Telerik.Web.UI when you are registering the handlers.

In addition when it comes to MOSS we always recommend using RadEditor for MOSS. It has specially designed content provider for its dialogs. What you can use is MOSSRadEditor, which is defined in the Telerik.SharePoint namespace of the RadEditorSharePoint assembly.


Kind regards,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Kriengsak Multongjard
Top achievements
Rank 1
answered on 05 Oct 2010, 08:15 AM
Hi Stanimir ,

I find out that Qrystring generated by RadEditor was wrong.

I test by get the URL of correct dialog from RadHTMLField control in MOSS Custom Page which can open correct Find'n Replace dialog
and then compare it to the URL of wrong dialog which I get from RadEditor, the one that it can open Find'n Replace dialog but no labels display (In attachment i sent).

After compared, there are 2 diffrent points.
1. doid parameter
2. dp parameter

Then I try change dp to the correct one and ignore doid and then it can show all labels.

Do u hv any suggestion ?

PS. my Telerik.Web.UI version is 2009.1.527.35
PS2. here are URLs (correct one and wrong one).

Correct one::
  • http://ROOTSITE/_wpresources/RadEditorSharePoint/5.4.1.0__1f131a624888eeed/Resources/Telerik.Web.UI.DialogHandler.aspx?DialogName=FindAndReplace&Skin=Default&Title=Find%20And%20Replace&doid=53da053d-687a-4b5e-9e51-eb186b7ea41a&dpptn=&dp=a2V2UBhaTCkRZAJaHGNjKmtlFAccGnldZwdlcVZyEEpRc2FUUXRBfxhlSU9tY0M5dXQRQSVgYXIRZAZbH1lJLWNldy0fFWVaaGNlEFUHKkVTTU9%2FbGBBQhthRk97dmY6XWUWDxdwYjYZa3lDJ00EBFBlADcncFN0aGNtNFZYKgBRYw5NeVxrSBhlSUNtAWZ2WnUVdxhgBSkPdmlbJHx%2FLX12BzcTKVNmUQVHHWdbBFhVYGFhYltdciVka2NWA2IQbwMJTxtyV3AmZktBE1pzG2cBLnYSKHV%2BVll9MWFbKll9Wl8OYXBNWSJ1e0FiW34qW2QJbBZbXAYgAl9rEllJEmMAPiscKVQEUF9PAGVZEFFmB19LbAUISyJZSUZtd0wZWGYVbxQGenYZAmlHEFpdK3xfPnYcL1hGV2EGAWVhEH1RX2EJYVtrdiUCSURkaFAOaAIJfRtxUHEOdGFqFVlJEGdIEDcfBF9iV2JbHFAGCHpiX35AYmAIDCJ0WkJTd0wvb14JChhjfhInZXFmFGxdD2cDNisSLmVbfHEGEWNhAGpSYWEOYlxrahFmRXhVAnorW3UvDhhvZjUhAQZiH2xjLn13HCwnCnldfnB2N3sFEARUc2FBV1p%2FSxN1XV1Vdw0tWgMBUCVwUzYRXnVAJQZkMnxxMXMRBXFEaAdhLG4HE0NiWXFLVgVsSwxxSVRhSmZzb14ZdhFmCXg%3D


Wrong one
  • http://ROOTSITE/_wpresources/RadEditorSharePoint/5.4.1.0__1f131a624888eeed/Resources/Telerik.Web.UI.DialogHandler.aspx?DialogName=FindAndReplace&Skin=Default&Title=Find%20And%20Replace&doid=76245052-7d6d-4403-86dc-fae52e389c1e&dpptn=&dp=a2V2UBhaTCkRZAJaHGNjKmtlFAccGnldZwdlcVZyEEpRc2FUUXRBfxhlSU9tY0M5dXQRQSVgYXIRZAZbH1lJLWNldy0fFWVaaGNlEFUHKkVTTU9%2FbGBBQhthRk97dmY6XWUWDxdwYjYZa3lDJ00EBFBlADcncFN0aGNtNFZYKgBRYw5NeVxrSBhlSUNtAWZ2WnUVdxhgBSkPdmlbJHx%2FLX12BzcTKVNmUQVHHWdbBFhVYGFhYltdciVka2NWA2IQbwMJTxtyV3AmZktBE1pzG2cBLnYSKHV%2BVll9MWFbKll9Wl8OYXBNWSJ1e0FiW34qW2QJbBZbXAYgAl9rEllJEmMAPiscKVQEUF9PAGVZEFFmB19LbAUISyJZSUZtd0wZWGYVbxQGenYZAmlHEFpdK3xfPnYcL1hGV2EGAWVhEH1RX2EJYVtrcgwCSURjZHIOaAIJfRtxUHEOdGFqFVlJEGdIEDcfBF9iV2JbHFAGCHpiX35AYmAIDCJ0WkJTd0wvb14JChhjfhInZXFmFGxdD2cDNisSLmVbfHEGEWNhAGpSYWEOYlxrahFmRXhVAnorW3UvDhhvZjUhAQZiH2xjLn13HCwnCnldfnB2N3sFEARUc2FBV1p%2FSxN1XV1Vdw0tWgMBUCVwUzYRXnVAJQZkMnxxMXMRBXFEaAdhLG4HE0NiWXFLVgVsSwxxSVRhSmZzb14ZdhFmCXg%3D

BR,
Kriengsak 
0
Stanimir
Telerik team
answered on 07 Oct 2010, 09:25 AM
Hi Kriengsak,

Could you open an official support ticket and provide me with your custom aspx file and the web.config file of your MOSS site. I will use them in order to reproduce the issue on our test server and advise you further.


Regards,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
WebParts for SharePoint
Asked by
Kriengsak Multongjard
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Kriengsak Multongjard
Top achievements
Rank 1
Share this question
or