I am doing a bin deployment on a web site for the following assemblies... Telerik.Windows.Documents.Core Telerik.Windows.Zip Telerik.Windows.Documents.Fixed Telerik.Windows.Documents.Flow Telerik.Windows.Documents.Flow.FormatProviders.Pdf Telerik.Windows.Documents.Spreadsheet Telerik.Windows.Maths Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml Telerik.Windows.Documents.Spreadsheet.FormatProviders.Pdf I recently used the upgrade wizard, and it successfully updated the versions for these assemblies, but it did not update the version numbers in the Web.config. I manually removed the version number completely from Web.config, and it seems to work fine.
When RadEditor with Bootstrap skin is inserted in the ContentTemplate of RadWindow, the tools look incorrect. A temporary solution is to override some CSS rules with more proper values: <style> .RadWindow .RadEditor .Bootstrap.reToolbarWrapper .reToolbar .reToolLastItem .reTool { border-right-width: 0; } .RadWindow .Bootstrap.RadEditor.reWrapper .reSplitButton.reTool { width: 42px; } .RadWindow .Bootstrap.RadEditor.reWrapper .Bootstrap.reToolbarWrapper .reToolbar li { border-right-width: 1px; border-left-width: 0; } .RadWindow .Bootstrap.RadEditor.reWrapper .Bootstrap.reToolbarWrapper .reToolbar li.reToolFirstItem { border-left-width: 1px; } .RadWindow .Bootstrap.RadEditor.reWrapper .Bootstrap.reToolbarWrapper .reToolbar .reSeparator + li { border-width: 1px; } </style> <telerik:RadWindow runat="server" Width="1200px" Height="600px" VisibleOnPageLoad="true"> <ContentTemplate> <telerik:RadEditor runat="server" Skin="Bootstrap"> </telerik:RadEditor> </ContentTemplate> </telerik:RadWindow>
The text in the tabs' titles of the Sliding panes of the Splitter control are not properly rotated. Can be reproduced here: http://demos.telerik.com/aspnet-ajax/splitter/examples/overview/defaultcs.aspx http://demos.telerik.com/aspnet-ajax/splitter/examples/sp_firstlook/defaultcs.aspx
When adding a link with a class name, the Unlink command cannot remove the formatting. Temporary solution is to clear anchor's classes programmatically via the ApplyClass command: <telerik:RadEditor runat="server" ID="RadEditor1" OnClientCommandExecuting="OnClientCommandExecuting"> <Content> <a href="http://www.telerik.com" class="my-class">link</a> </Content> </telerik:RadEditor> <script type="text/javascript"> function OnClientCommandExecuting(sender, args) { var command = args.get_commandName && args.get_commandName(); if (command === "Unlink") { var myArgs = new Telerik.Web.UI.EditorCommandEventArgs("ApplyClass", null, ""); sender.fire("ApplyClass", myArgs); } } </script>
I love WebForms and the wealth in the Toolbar. I would like to write the payload of the web page in a webform and limit the round tripping with micro webservices, so there is no PostBack. Which means I can do more clientside in a KendoUI style. This would address the criticism of the bloat that comes with ViewState in webforms offering a leaner web page, but with all the advantages of the JavaScript tooling. For the most part a lot of this can be done already, would just prefer not to have any limitations in the controls that I can use for this. Just that there is such a driver now with the fashion of AngularJS/SPA applications suggesting that webforms cannot compete here.
RadHtmlChart does not cache the correct size when placed inside initially hidden iframe. Workaround: function redrawChart() { kendo.drawing.util.TextMetrics.current._cache = new kendo.drawing.util.LRUCache(1000); $find("<%=RadHtmlChart1.ClientID%>").get_kendoWidget().redraw(); }
The dragging clue element is shown before the actual dragging of the element in the Grid is initiated (immediately after the item is clicked). The problem is reproducible in Chrome. Comment: The problem is not reproducible in the following TreeView demo: http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/draganddropnodes/defaultcs.aspx Steps to reproduce: 1. Open http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/rows/drag-and-drop/defaultcs.aspx 2. Click over an item (just mouse-down, without moving the mouse nor full click) Result: The dragging clue is shown without actual moving of the mouse pointer
The error is "Wrong Document". The dialog creates the table from different document instead of the document of the RadEditor's content area. Here is the workaround: <script type="text/javascript"> Telerik.Web.UI.InsertTableLight.prototype.getModifiedTable = function(tableToModify){ var rowCount = parseInt(this._rowsCount.value, 10); var colCount = parseInt(this._colsCount.value, 10); if (!tableToModify && !(isNaN(rowCount) || isNaN(colCount))) { tableToModify = this._editor.get_document().createElement("table"); this._originalRowsCount = 0; this._originalColsCount = 0; } if (!tableToModify) return; var originalRowsCount = this._originalRowsCount; var originalColsCount = this._originalColsCount; if (rowCount > 0 && rowCount != originalRowsCount) { rowCount > originalRowsCount ? this.addRowsCols(tableToModify, originalRowsCount, rowCount, true) : this.removeRowsCols(tableToModify, originalRowsCount, rowCount, true); } if (colCount > 0 && colCount != originalColsCount) { colCount > originalColsCount ? this.addRowsCols(tableToModify, originalColsCount, colCount, false) : this.removeRowsCols(tableToModify, originalColsCount, colCount, false); } this._setAttribValue(tableToModify, "align", this._alignmentSelectorTable.getAlign()); var oSpacing = parseInt(this._cellSpacing.value, 10); if (!isNaN(parseInt(oSpacing, 10))) this._setAttribValue(tableToModify, "cellSpacing", oSpacing >= 0 ? oSpacing : "", (oSpacing >= 0)); var oPadding = parseInt(this._cellPadding.value, 10); if (!isNaN(parseInt(oPadding, 10))) this._setAttribValue(tableToModify, "cellPadding", oPadding >= 0 ? oPadding : "", (oPadding >= 0)); var oBorderWidth = parseInt(this._borderWidth.value, 10); if (!isNaN(parseInt(oBorderWidth, 10))) this._setAttribValue(tableToModify, "border", oBorderWidth >= 0 ? oBorderWidth : "", (oBorderWidth >= 0)); return tableToModify; } </script>
A rad calculator picker for asp.net textboxes similar to what you have in Silverlight.
Hi, It would be so usefull a template or tool like codesmith or ironspeed to generate database-driven applications or at least a set of pages for CRUD operations where I can list the registers of each table/entity and edit it contents and Its relatives. Thanks Ángel.
Hi, It would be so usefull a template or tool like codesmith or ironspeed to generate database-driven applications or at least a set of pages for CRUD operations where I can list the registers of each table/entity and edit it contents and Its relatives. Thanks Ángel.
For the time being you can use the following workaround: CSS: <style> .RadForm_Bootstrap.RadForm.rfdButton form a.rfdSkinnedButton { padding: 0px; height: 32px; } .RadForm_Bootstrap.RadForm.rfdButton form a.rfdSkinnedButton input.rfdDecorated { height: 32px; } </style> ASPX: <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="Bootstrap" ShowChooser="true"></telerik:RadSkinManager> <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" /> <asp:Button ID="Button1" Text="Click" runat="server" />
Workaround: <telerik:RadEditor ID="radEditor1" runat="server" EnableTrackChanges="true" TrackChangesSettings-CanAcceptTrackChanges="true"> <Content> <table> <tbody> <tr> <td>test</td> <td>test</td> </tr> </tbody> </table> <p>test paragraph</p> </Content> </telerik:RadEditor> <script type="text/javascript"> (function ($T) { var prototype = $T.Editor.DefaultToolAdapter.prototype; var onContextMenu = prototype.onContextMenu; prototype.onContextMenu = function (e) { var editor = this.get_editor(); if (!editor.get_enableTrackChanges()) { return onContextMenu.call(this, e); } if (!this._contextMenusEnabled || editor.get_mode() != $T.EditModes.Design) { return; } this.createContextMenus(); var element = editor.getSelectedElement() || e.srcElement; var contextMenus = this._contextMenus; var contextElement = $T.Editor.Utils.getElementParentByCondition(element, function (node) { return !!contextMenus[node.nodeName]; }); var contextMenuId = contextElement ? contextElement.nodeName : "*"; var parentTrackChangeEl = $T.Editor.TrackChangesUtils.findTrackChangesParentElement(element); if (parentTrackChangeEl) { if (parentTrackChangeEl.Type == $T.Editor.TrackChangesElementType.Comment) contextMenu = this.createContextMenuWithTrackChangeCommentItems(contextMenuId); else contextMenu = this.createContextMenuWithTrackChangeItems(contextMenuId); } else { contextMenu = this.createContextMenuWithTrackChangeDefaultItems(contextMenuId) || contextMenus[contextMenuId]; } if (contextMenu) { contextMenu.set_eventObject(e); contextMenu.show(); } return $telerik.cancelRawEvent(e); }; })(Telerik.Web.UI) </script>
Cursor is placed in the next available element (e.g., <p>) instead of being placed right after the tab space in the same paragraph. Possible workaround is to implement a custom command to be triggered with tab key press: <telerik:RadEditor runat="server" ID="RadEditor1" OnClientLoad="OnClientLoad"> </telerik:RadEditor> <script> Telerik.Web.UI.Editor.CommandList["MyInsertTab"] = function (commandName, editor, oTool) { var utils = Telerik.Web.UI.Editor.Utils; var selecedElm = editor.getSelectedElement(); var blockElm = utils.isBlockElement(selecedElm) ? selecedElm : utils.getBlockParent(selecedElm); var executeDefaultCommand = utils.isList(blockElm) || utils.isTag(blockElm, "LI") || utils.isTag(blockElm, "TD") || utils.isTag(blockElm, "TH"); if (executeDefaultCommand) { editor.fire("InsertTab"); } else { editor.pasteHtml("<span> </span>​", commandName); } }; function OnClientLoad(editor, args) { var shortcutManager = editor.get_shortCutManager(); // Removing the InsertTabMozilla shortcut will // assure that in Firefox the behavior will be consistent with IE. shortcutManager.removeShortCut("InsertTabMozilla"); editor.addShortCut("MyInsertTab", "TAB"); } </script>