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

RadEditor not working with UrlRewritingNet.UrlRewriter.dll

1 Answer 62 Views
Editor
This is a migrated thread and some comments may be shown as answers.
bangct01
Top achievements
Rank 1
bangct01 asked on 07 Aug 2010, 03:07 PM
I use UrlRewritingNet.UrlRewriter.dll for Rewriter my website, but RadEditor not working. I attach message error when click button (Image manager, Flash manager, Template manager....). If not use UrlRewritingNet.UrlRewriter.dll (delete line config rewriter in web.config) then RadEditor run ok.
Please help me, how to use  RadEditor with UrlRewritingNet.UrlRewriter.dll.
Thanks you very much.


1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Aug 2010, 03:52 PM
Hi,

To fix the URL rewirter problem exclude the editor dialogs from the URL rewriting routine. To do this, simply add the Telerik.Web.UI.DialogHandler.aspx file to the if () statement that checks the request URL:

if ((currentURL.Contains("/cms/")) && (currentURL.EndsWith(".aspx")) &&    
    !currentURL.EndsWith("Telerik.Web.UI.DialogHandler.aspx"))    
 ... 
This way the request for the dialog aspx will not be handled by your module and the dialog will load OK.

Please, see the following KB article for more information about this error: Error: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file.

Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
bangct01
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or