When a list item is set with a color or background color, only the text gets modified. A more appropriate user experience would be if the whole list item get affected by the chosen value. The following custom Inline Command modification changes the behavior of the ForeColor command and provides more desktop-like text editing experience to the users. <telerik:RadEditor ID="RadEditor1" runat="server"> <Content> <ol> <li>list item</li> <li>list item</li> <li>list item</li> </ol> </Content> </telerik:RadEditor> <script type="text/javascript"> (function ($, $E, utils) { $E.ForeColor = function (editor, commandSettings, options) { $E.ForeColor.initializeBase(this, [editor, commandSettings, options]); }; $E.ForeColor.prototype = { formatFragment: function (fragment) { var formatNode; var parent = fragment.getParent(); var parentFormatted = this.findSameFormattedAncestor(parent); if (parentFormatted && this.hasSameFormattingValue(parentFormatted)) { return; } if (this.shouldFormatParentNode(fragment)) { this.formatNode(parentFormatted || parent, true); } else { for (var i = 0; i < fragment.nodes.length; i++) { var node = fragment.nodes[i]; if (this.isMarker(node) || this.hasSameFormatting(node)) { continue; } if (utils.isTag(node, 'font')) { this.formatFont(node); } else { var nodeName = this.settings.tag || "SPAN"; if (node.nodeName == nodeName && !node.parentNode.style[this.settings.cssName]) { this.formatNode(node); } else if ((node.parentNode.nodeName == nodeName || node.parentNode.nodeName === "LI") && this.getNodesTextContent([node]) == this.getNodesTextContent([node.parentNode])) { this.formatNode(node.parentNode); } else { formatNode = this.createInlineNode(); fragment.insertBeforeFirst(formatNode); fragment.appendTo(formatNode); } } } } } }; $E.ForeColor.registerClass("Telerik.Web.UI.Editor.ForeColor", $E.InlineCommandWithValue); })($telerik.$, Telerik.Web.UI.Editor, Telerik.Web.UI.Editor.Utils); </script>
Hi Telerik Team, I'd like to suggest a control with a real gantt chart, something like a ms project. I and others are using external controls to have this functionalitty Thanks, best Daniel
This bug was reproduced on a Windows 7 64 bit machine with installed SQL Server 2008 R2 Standart and Visual Studio 2013. Steps to reproduce: 1. Install UI for ASP.NET Ajax through the Control Panel with all available features selected including the Demos feature 2. Open Live Demos solution in Visual Studio 2013 Expected result: Solution is opened without errors Actual result: There is an error - The custom tool 'MSLinqToSQLGenerator' failed. Object reference not set to an instance of an object. Found fix - In Visual Studio Solutio Explorer right-click on the Live \App_Code\NorthwindDataClasses.dbml file and select "Run Custom Tool" This bug originates from support ticket 822091.
When a table is inserted above a list element and modified via the Table Wizard dialog, it is getting appended as a list item.
For the time being the following CSS can be used: CSS: <style> .RadPanelBar .rpGroup .rpLink, .RadPanelBar .rpGroup .rpTemplate .RadButton { line-height: normal; } </style ASPX: <telerik:RadPanelBar ID="rpbOptions" runat="server" Width="200px" ExpandMode="SingleExpandedItem" AllowCollapseAllItems="true" Font-Bold="True"> <Items> <telerik:RadPanelItem Text="Delivery Method" Font-Size="Small"> <Items> <telerik:RadPanelItem Expanded="true"> <ContentTemplate> <div id="div1"> <telerik:RadButton ToggleType="Radio" ButtonType="ToggleButton" ID="RadButton9" runat="server" GroupName="gDeliveyMethod" Checked="true" AutoPostBack="false" Text="Pickup" ForeColor="#295B8B"></telerik:RadButton> <br /> <telerik:RadButton ToggleType="Radio" ButtonType="ToggleButton" ID="RadButton10" runat="server" GroupName="gDeliveyMethod" AutoPostBack="false" Font-Size="X-Small" ForeColor="#295B8B" Text="Courier"></telerik:RadButton> </span><br /> <telerik:RadButton ToggleType="Radio" ButtonType="ToggleButton" ID="RadButton11" runat="server" GroupName="gDeliveyMethod" AutoPostBack="false" Font-Size="X-Small" ForeColor="#295B8B" Text="US Mail"></telerik:RadButton> <br /> </div> </ContentTemplate> </telerik:RadPanelItem> </Items> </telerik:RadPanelItem> </Items> </telerik:RadPanelBar>
The mdf mentioned in the read me and that the application uses does not appear to be a part of the source download. If it is could I be pointed to it, please? I cannot find it.
It would be nice to have a calculator input field.
Will work in Q2 2014
<telerik:RadMaskedTextBox ID="RadMaskedTextBox2" Runat="server" Mask="<0..255>.<0..255>.<0..255>.<0..255>" ZeroPadNumericRanges="false" PromptChar=""> </telerik:RadMaskedTextBox> Should render 192.168.1.1 instead of 192.168.__1.__1
In case, where paragraph(<p>) with style "font-style: normal" is nested inside table cell (<td>) with style "style="font-style: italic;" the command incorrectly displays that the content has italic decoration applied and if used the cell is split into three new cells.
Problem:If I used master page and put there RadSkinManager how can I used designer in page inherit from the master ? Solution:I can only use the designer in the page where the control is situated. Suugestion:Make proxy for RadSkinManager like RadAjaxManagerProxy