The problem is due to the IE native focusing behavior of editable DIV elements. You can workaround this problem by overriding the setFocus method and implement an if statement that does not focus the content if the AutoResizeHeight is enabled: <telerik:RadEditor ID="RadEditor1" runat="server" AutoResizeHeight="True" ContentAreaMode="Div"> </telerik:RadEditor> <script type="text/javascript"> Telerik.Web.UI.RadEditor.prototype.setFocus = function () { try { if ($telerik.isIE && this.getSelection().isControl()) return; var area = this.get_mode() != $T.EditModes.Html ? this.get_contentWindow() : this._getTextArea(); if (this.get_contentAreaMode() == $T.EditorContentAreaMode.Div) area = this.get_contentArea(); if (area && area.focus && !this.get_autoResizeHeight()) area.focus(); } catch (e) { } }; </script>
This issue causes inconvenience among users. Block elements in the content cannot be edited properly when used in the RadEditor. You can workaround this problem by overriding the setActive method of the RadEditor's object: <telerik:RadEditor runat="server" ID="RadEditor1"> </telerik:RadEditor> <script type="text/javascript"> Telerik.Web.UI.RadEditor.prototype.setActive = function () { var $T = Telerik.Web.UI; if (this._emptyMessageContainer) this._hideEmptyMessage(); if ($telerik.isIE && this.getSelection().isControl()) return; var curArea = this.get_mode() == $T.EditModes.Html ? this._getTextArea() : this.get_contentArea(); if ($telerik.isIE) { var activeElement = this.get_document().activeElement; if ((activeElement && activeElement == curArea) || $telerik.$.contains(curArea, activeElement)) { return; } } if (curArea && curArea.setActive) curArea.setActive(); }; </script>
Currently when we use virtualization in GridTemplateColumn, after scrolling columns changes from GridTemplateColumn to GridBoundcolumn.
This issue causes an additional ghost character to appear in the text without any incorrect user interaction. For the time being you can incorporate the JavaScript code from the following example: <telerik:RadEditor runat="server" ID="RadEditor1" EnableTrackChanges="true"> <Tools> <telerik:EditorToolGroup> <telerik:EditorTool name="AcceptTrackChange" text="Accept Track Change" /> <telerik:EditorTool name="RejectTrackChange" text="Reject Track Change" /> <telerik:EditorTool name="AcceptAllTrackChanges" text="Accept All Track Changes" /> <telerik:EditorTool name="RejectAllTrackChanges" text="Reject All Track Changes" /> <telerik:EditorTool name="EnableTrackChangesOverride" text="Enable Track Changes Override" /> </telerik:EditorToolGroup> </Tools> </telerik:RadEditor> <script type="text/javascript"> (function () { var $E = Telerik.Web.UI.Editor; var utils = $E.Utils; var isTypingKey = utils.isTypingKey; utils.isTypingKey = function (e) { return e.keyCode != 13 && isTypingKey(e); } var extractFrom = $E.InsertParagraphCommand.prototype.extractFrom; $E.InsertParagraphCommand.prototype.extractFrom = function (cursor, container) { var newElement = extractFrom.call(this, cursor, container); if (!this.get_editor().get_enableTrackChanges() || utils.isTextNode(cursor.nextSibling)) return newElement; $telerik.$(newElement).find("*").each(function (index, item) { if ($E.TrackChangesUtils.isTrackChangeElement(item)) { if (utils.isTag(item, "ins") || utils.isTag(item, "del")) { utils.removeNode(item); return; } $E.TrackChangesUtils.removeNodeTracking(item); } }); return newElement; } }()); </script>
Hello, I am experiencing an error message when attempting to perform a "Telerik Scenario". I have purchased the DevTools Complete product line. When I am inside Visual Studio 2013 Enterprise: - I attempt to create a new "Telerik Scenario" ... the first screen asks me to select from the various Webforms: General or RadAjax or RadEditor etc. - When I select any of the many scenarios listed above ...... I get an Error = "Telerik VSExtensions Error" - I have reinstalled Visual Studio 2013 ultimate. - I have reinstalled Telerik DevTools Complete And I have the same problem. When I click the "Show me more" link: the above FULL description reads as follows: The wizard encountered an error while trying to handle user event. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\h122183\Documents\Visual Studio 2013\WebSites\Cautions10\ExternalLibraries'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator`1.CommonInit() at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) at System.IO.Directory.GetFiles(String path, String searchPattern) at Telerik.VSX.Internal.FileOperator.GetDirectoryFiles(String directoryPath, String pattern) at Telerik.Web.UI.VSX.AssemblyDiscovery.WebUIFileBasedDistribution.GetAdditionalPathsAssemblies() at Telerik.VSX.DistributionListing.FileBasedDistribution.GetAllAssemblyFiles() at Telerik.VSX.DistributionListing.FileBasedDistribution.PopulateItems(DistributionItemList items) at Telerik.VSX.DistributionListing.Distribution.get_Items() at Telerik.Web.UI.VSX.Helpers.SkinPackLister.GetSkinPacks() at Telerik.Web.UI.VSX.Helpers.ProjectSkinPackLister.GetSkinPacks() at Telerik.Web.UI.VSX.Controls.AvailableSkinSelector.SetModelSkins(String mainLoadInformation, IProjectWrap project, DistributionInfo distributionInfo) at Telerik.Web.UI.VSX.Controls.AvailableSkinSelector.PopulateSkins(IPropertyDataDictionary allPropertyValues, WizardContext context) at Telerik.Web.UI.VSX.Controls.AvailableSkinSelector.InitModel(IPropertyDataDictionary allPropertyValues, WizardContext context) at Telerik.VSX.WizardEngine.Controls.WizardControlBase.Init(IPropertyDataDictionary allPropertyValues, WizardContext context) at Telerik.VSX.Controls.EnableStateWizardControl`2.Init(IPropertyDataDictionary allPropertyValues, WizardContext context) at Telerik.VSX.WizardEngine.Controls.WizardControlBase.Telerik.WizardFramework.ScenarioDriven.IWizardControl.Init(IPropertyDataDictionary allPropertyValues, IWizardContext context) at Telerik.VSX.WizardFramework.Pages.DynamicPageController.InitControls() at Telerik.VSX.WizardFramework.Pages.DynamicPageController.Init(IWizardPageDef pageDefinition, IWizardContext wizardControlContext, IPropertyDataDictionary allGatheredData) at Telerik.WizardFramework.ScenarioDriven.ScenarioSelectorWizard.OnBeforeShow(Boolean movingNext) at Telerik.WizardFramework.Wizard.PostMove(Boolean movingNext) at Telerik.WizardFramework.Wizard.OnMoveNext() at Telerik.WizardFramework.Wizard.UI_Next(Object sender, EventArgs e) at Telerik.WizardEngine.Helpers.EventHelper.<>c__DisplayClass1.<RaiseEvent>b__0() at Telerik.WizardEngine.Helpers.EventHelper.CatchExceptionAndSendReport(Action action)
Steps to reproduce: 1. Set a singe paragraph in content area - <p>some paragraph</p> 2. Select any part of it and apply FontName or RealFontSize command. Workaround: <telerik:RadEditor ID="RadEditor1" runat="server"> <Content> <p>some paragraph</p> </Content> </telerik:RadEditor> <script type="text/javascript"> (function () { var getValue = Telerik.Web.UI.Editor.InlineCommandWithValue.prototype.getValue; Telerik.Web.UI.Editor.InlineCommandWithValue.prototype.getValue = function (wnd, range) { try { if (!range || !this.settings.enableToolStateValue) return; if (!range.isCollapsed()) { range.normalizeEdges(); } var startNode = range.startContainer; if (Telerik.Web.UI.Editor.Utils.isTextNode(startNode)) { startNode = startNode.parentNode; } else if (startNode.childNodes[range.startOffset] && !Telerik.Web.UI.Editor.Utils.isTextNode(startNode.childNodes[range.startOffset])) { startNode = startNode.childNodes[range.startOffset]; } return $telerik.getComputedStyle(startNode, this.settings.cssName) || $telerik.getComputedStyle(startNode, this.getAltCssName(this.settings.cssName)); } catch (e) { getValue.call(this, wnd, range); } } })(); </script>