As a workaround you can either use Lightweight render mode or Server group load mode.
When the labels' template is not defined, there is an explicit serialization like: template:"#= dataItem.<data_bound_property> #" which is in a collision with the DataFormatString property. Sample code: ASPX: <telerik:RadHtmlChart runat="server" ID="Chart"> <PlotArea> <Series> <telerik:ColumnSeries DataFieldY="Total" Name="Total"> <LabelsAppearance DataField="Total" DataFormatString="$#,##0.00"> </LabelsAppearance> </telerik:ColumnSeries> </Series> </PlotArea> </telerik:RadHtmlChart> C#: protected void Page_Load(object sender, EventArgs e) { Chart.DataSource = GetData(); Chart.DataBind(); } private DataTable GetData() { DataTable table = new DataTable(); table.Columns.Add(new DataColumn("Total", typeof(long))); table.Rows.Add(new object[] { 10000000 }); table.Rows.Add(new object[] { 10000000 }); table.Rows.Add(new object[] { 10000000 }); return table; } The workaround is to set the ClientTemplate and remove the DataFormatString property or override the template on the client-side: <script type="text/javascript"> function pageLoad() { var chart = $find("Chart"); var widget = chart.get_kendoWidget(); widget.options.series[0].labels.template = null; chart.repaint(); } </script>
Drag and drop functionality works great. But when i drag and drop email from outlook into kendo upload control, it was unable to read it. Any solution? appreciate your help. Thanks, Sundeep.
The workaround is to use the RadEditor's tab functionality instead of browser's. <telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="OnClientLoad"> <Content> <p>test</p> <p>test</p> </Content> </telerik:RadEditor> <script> function OnClientLoad(editor, args) { var shortcutManager = editor.get_shortCutManager(); if (shortcutManager.findShortCutByName("InsertTabMozilla")) { shortcutManager.removeShortCut("InsertTabMozilla"); editor.addShortCut("InsertTab", "TAB"); } } </script>
The droppdown tools of RadEditor are not fully visible when ToolbarMode = "RibbonBarFloating" in LightWight. Reproduction code: <telerik:RadEditor ID="reBody" runat="server" ToolbarMode="RibbonBarFloating" RenderMode="Lightweight"> </telerik:RadEditor>
It would be great if you had a theme/skin for all products, that one could mock-up the page and print it out, but that it would look as if is just some sort of a drawing or sketch. Once the page was moved from design to development one could change the theme/skin and it would look completely different. Phil
The OK and Cancel buttons of the Link Manager are cut off in Silk skin in Classic mode. The issue is introduced in 2016 R2 release.
The SlidingZone's tabs titles are rendered upside-down in all browsers in Sharepoint 2010 (except for Internet Explorer). The problem is caused due to a thrown JavaScript error: Uncaught TypeError: Cannot read property 'removeChild' of null
When the data is initially grouped and later grouping is collapsed, the group does not expand on click again. The class rgExpand does not change to rgCollapse class. It works with Telerik.Web.UI.dll version 2014.2.618.40 (release 1/14/2016?) However, when we upgraded to 2016.2.504.40 (release 5/9/2016?), it is stuck in "Collapse" mode. Cannot expand again in when clicked on the arrow.
Workaround: <script> var $ = $telerik.$; Telerik.Web.UI.RadMenuItem.prototype._doAriaFocus = function () { var menu = this.get_menu(); var menuId = menu.get_id() + "_active"; $(this.get_element()).attr("id", menuId); $(menu._getMainElement()).attr("aria-activedescendant", menuId); } </script>
Steps to Reproduce: 1) bold a non tracked word 2) Append an "s" (or other letter) to the previous non tracked word 3) delete the space between the previous word and the bolded word Actual: the tracking will delete the first letter of the bolded word Expected: the space should be deleted Workaround: <telerik:RadEditor ID="RadEditor1" runat="server" EnableTrackChanges="true"> <Content> <p>some plain text</p> </Content> </telerik:RadEditor> <script> (function ($, $E, undefined) { var utils = $E.Utils; utils.isInlineSpace = utils.isInlineSpace || function (node) { return utils.isTextNodeEmpty(node) && node.previousSibling && node.nextSibling && !utils.isBlockElement(node.previousSibling) && !utils.isBlockElement(node.nextSibling); }; var isSignificantTextNode = function (node) { return utils.isTextNode(node) && (!utils.isTextNodeEmpty(node) || utils.isInlineSpace(node)); }; var prototype = $E.PlainTextSelector.prototype; $E.PlainTextSelector = function (toLeft, topNode) { this.toLeft = toLeft; var condition = toLeft ? function (node, position) { return isSignificantTextNode(node) && (position > 0 && position <= node.nodeValue.length); } : function (node, position) { return isSignificantTextNode(node) && (position >= 0 && position < node.nodeValue.length); }; this.traverser = new $E.DomTreeTraverser(condition, topNode); }; $E.PlainTextSelector.prototype = prototype; })($telerik.$, Telerik.Web.UI.Editor); </script>
Would like a code sample of connecting to Active Directory/LDAP so in the RadComboBox you can start looking up someone in the company phone book. Since this is a common Intranet need, this would be a quick win for many people that were not planning to install SharePoint.
Would be really nice if there was a clearly defined client-side object model for the radGrid. We created a function like the one below by deconstructing the header menu. The jQuery selectors to find the container and affected dropdown lists are really hacky and very brittle. Reliance on magic strings means that upgrading to future versions is likely to break code like this. Ideally we should be able to reference (and alter) a client-side filter operators collection like this: grid.headerMenu.filterOperators function headerMenuShowing(sender, args) { var $container = jQuery("div[id^='" + sender.get_id() + "_rghcMenu']"); var $lists = $container.find("ul.rcbList"); var gridCol = args.get_gridColumn(); var dataType = gridCol.get_dataType(); switch (dataType) { case "System.String": $lists.find("li:contains('GreaterThan')").hide(); $lists.find("li:contains('LessThan')").hide(); $lists.find("li:contains('IsEmpty')").hide(); $lists.find("li:contains('NotIsEmpty')").hide(); break; case "System.Int32": case "System.Int64": case "System.Double": case "System.Decimal": case "System.DateTime": $lists.find("li:contains('GreaterThan')").show(); $lists.find("li:contains('LessThan')").show(); break; } }