Telerik 使用RadEditor的Image Manager时,如何在DNN 5.6.6中对用户进行身份验证?

Telerik 使用RadEditor的Image Manager时,如何在DNN 5.6.6中对用户进行身份验证?,telerik,dotnetnuke-5,Telerik,Dotnetnuke 5,我在一个页面上有一个RadEditor,在我关闭“图像管理器”对话框后,它将在下一次回发时中断身份验证 我尝试添加以下内容: reThePolicy.DialogOpener.AdditionalQueryString = string.Format("&PortalID={0}", PortalId); 在codebehind和IE9中,它第一次失败,但此后每隔一次它就会工作。在其他浏览器中,它永远不起作用 谢谢你的帮助 一点背景-这只发生在子门户上,并且仅适用于其他门户中不存在的

我在一个页面上有一个RadEditor,在我关闭“图像管理器”对话框后,它将在下一次回发时中断身份验证

我尝试添加以下内容:

 reThePolicy.DialogOpener.AdditionalQueryString = string.Format("&PortalID={0}", PortalId);
在codebehind和IE9中,它第一次失败,但此后每隔一次它就会工作。在其他浏览器中,它永远不起作用

谢谢你的帮助

一点背景-这只发生在子门户上,并且仅适用于其他门户中不存在的用户

在ascx中,路径和诸如此类的内容在codebehind中声明,但是当imagemanager弹出窗口没有终止身份验证时,所有这些都可以工作:

<telerik:RadEditor StripFormattingOptions="MSWordRemoveAll" ID="reThePolicy" runat="server"
            Width="769px" Style="margin: 6px;">
            <Content></Content>
        </telerik:RadEditor>
在我的web配置中:

<htmlEditor defaultProvider="RadEditorProvider">
            <providers>
                <clear />
                <add name="FckHtmlEditorProvider" type="DotNetNuke.HtmlEditor.FckHtmlEditorProvider.FckHtmlEditorProvider, DotNetNuke.FckHtmlEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Fck/" CustomConfigurationPath="~/Providers/HtmlEditorProviders/Fck/custom/FCKConfig.js" EnhancedSecurityDefault="false" SecureConfigurationPath="~/Providers/HtmlEditorProviders/Fck/custom/FCKConfigSecure.js" ImageGalleryPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx" ImageUploadPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx" ImageAllowedFileTypes="gif,png,bmp,jpg" FlashGalleryPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx" FlashUploadPath="~/Providers/HtmlEditorProviders/Fck/fckimagegallery.aspx" FlashAllowedFileTypes="fla,swf" LinksGalleryPath="~/Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx" DynamicStylesGeneratorPath="~/Providers/HtmlEditorProviders/Fck/FCKStyles.aspx" DynamicStylesCaseSensitive="true" DynamicStylesGeneratorFilter="controlpanel|filemanager|mainmenu|wizard" StaticStylesFile="~/Providers/HtmlEditorProviders/Fck/FCKeditor/fckstyles.xml" StylesDefaultMode="Static" DynamicCSSGeneratorPath="~/Providers/HtmlEditorProviders/Fck/FCKCSS.aspx" StaticCSSFile="~/Providers/HtmlEditorProviders/Fck/FCKeditor/editor/css/fck_editorarea.css" CSSDefaultMode="static" spellCheck="ieSpell" AvailableToolbarSkins="Office2003,Silver" DefaultToolbarSkin="Office2003" AvailableToolBarSets="DNNDefault,Default,NoGallery,Basic" DefaultToolbarSet="DNNDefault" DefaultImageGallerySkin="Default" DefaultFlashGallerySkin="Default" DefaultLinksGallerySkin="Default" FCKDebugMode="false" UseFCKSource="false" OptionsOpenMode="ShowModalDialog" CustomOptionsDialog="Admin" />
                <add name="RadEditorProvider" type="Telerik.DNN.Providers.RadEditorProvider" providerPath="~/DesktopModules/TelerikWebUI" AutoCreatePaths="true" />
                <!--Upgraded by DotNetNuke.TelerikEditorProvider version 5.4.2 - Date: 11/8/2010 4:07:51 PM-->
                <!--<add name="TelerikEditorProvider" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Telerik/" toolsFile="~/Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml" configFile="~/Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml" FilterHostExtensions="True" />-->
                <!--Upgraded by DotNetNuke.TelerikEditorProvider version 5.4.2 - Date: 11/20/2010 12:52:19 AM-->
                <!--<add name="TelerikEditorProvider" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Telerik/" toolsFile="~/Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml" configFile="~/Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml" FilterHostExtensions="True" />-->
                <!--Upgraded by DotNetNuke.TelerikEditorProvider version 5.6.0 - Date: 11/20/2010 12:52:20 AM-->
                <!--<add name="TelerikEditorProvider" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Telerik/" toolsFile="~/Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml" configFile="~/Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml" FilterHostExtensions="True" />-->
                <!--Upgraded by DotNetNuke.TelerikEditorProvider version 5.6.3 - Date: 9/14/2011 9:51:59 AM-->
                <!--<add name="TelerikEditorProvider" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Telerik/" toolsFile="~/Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml" configFile="~/Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml" FilterHostExtensions="True" />-->
                <!--Upgraded by DotNetNuke.TelerikEditorProvider version 5.6.3 - Date: 1/19/2012 12:44:58 PM-->
                <!--<add name="TelerikEditorProvider" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Telerik/" toolsFile="~/Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml" configFile="~/Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml" FilterHostExtensions="True" />-->
                <add name="TelerikEditorProvider" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.EditorProvider, DotNetNuke.HtmlEditor.TelerikEditorProvider" providerPath="~/Providers/HtmlEditorProviders/Telerik/" toolsFile="~/Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml" configFile="~/Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml" FilterHostExtensions="True" />
            </providers>
        </htmlEditor>

所以我把这个贴在了很多论坛上,我从Telerik那里得到了答案

他们的建议虽然很幽默[不要使用我们的产品:D]

就是那个有效的。它是:

我们的建议是,不要将ascx文件中的-telerik:RadEditor-用作DNN中的独立控件,而是使用集成在DNN中的-DNN:TextEditor-控件

请注意,RadEditor的DotNetNuke.Telerikeditor提供程序仅由DNN公司开发和支持