The current behavior of the table insertion works by adding the cursor outside the table. This behavior causes inconsistent issues (e.g. In IE the cursor appears in the last TD, but the typed text is after the table) and faulty user experience. In desktop rich text editors (e.g. MS Word), when a table is inserted the first table cell is selected and this is the users' expected behavior. You can test the modified command by following this example: <telerik:RadEditor runat="server" ID="RadEditor1" OnClientPasteHtml="OnClientPasteHtml"> </telerik:RadEditor> <script type="text/javascript"> var identifierID = "RadEditor_AfterTable"; function OnClientPasteHtml(editor, args) { var commandName = args.get_commandName(); if (commandName === "InsertTable" || commandName === "TableWizard" ) { var currValue = args.get_value(); currValue = currValue.replace(/<\/table>/gi, "</table><div id=" + identifierID + ">​</div>"); //currValue = currValue + "<div id=" + identifierID + ">​</div>"; args.set_value(currValue); setTimeout(function () { selectFirstTD(editor) }, 0); } } function selectFirstTD(editor) { var $ = $telerik.$; var contBody = editor.get_contentArea(); var identifier = $(contBody).find("#" + identifierID); var table = identifier.prev(); var elmToSelect = table.find("th")[0] || table.find("td")[0]; if (elmToSelect.childNodes && !$telerik.isIE) { elmToSelect = elmToSelect.childNodes[0].nodeName === "#text" && elmToSelect.childNodes[0]; } var hasNextElement = identifier.next()[0]; while (hasNextElement && $(hasNextElement).is("style")) { hasNextElement = $(hasNextElement).next()[0]; } editor.selectElement(elmToSelect); if (!hasNextElement) { table.after("<br/>"); } identifier.remove(); } </script>
Allow persisting of column widths Allow persisting of what columns are displayed when a user selects them. (via EnableHeaderContextMenu) Thanks
Trying to download the step by step tutorial from the following link fails: http://www.telerik.com/support/aspnet-ajax#step-by-step Thanks in advance, Faten
The issue appears when the user starts to type and the cursor is between BR elements. Тhe first typed character is out of the INS element instead its first one. The rest of the typed content is wrapped in SPAN and U elements.
When RadMenu is present on the page where a RadGrid has to be exported, a JavaScript error is thrown when the response is received. This is observable only in an iframe (or, therefore, a RadWindow). Different ways to work around this are: - remove the menu/context menu - use a regular browser window instead of a RadWindow for this page - use the ContentTemplate of the RadWindow instead of loading an entire page in it - try adding the following function override at the end of the content page, just before the closing form tag: Telerik.Web.UI.RadMenu.prototype._onMouseOut = function (e) { var relatedTarget = e.rawEvent.relatedTarget ? e.rawEvent.relatedTarget : e.rawEvent.toElement; if (!relatedTarget && !this._isMainElementDescendant(e.target)) { //The mouse is out of the window or the current frame - close the menu try { var that = this; setTimeout( function () { that.close(); }, this.get_collapseDelay()); } catch (e) { } } } If this does not help, try adding this one below: $telerik.addHandler = function (element, eventName, handler, autoRemove) { if (!element._events) element._events = {}; var eventCache = element._events[eventName]; if (!eventCache) element._events[eventName] = eventCache = []; var browserHandler; if ($telerik.useAttachEvent(element)) { browserHandler = function() { var e = {}; try { e = $telerik._getWindow(element).event } catch (ex) { } try { return handler.call(element, new Sys.UI.DomEvent(e)); } catch (e) { } } element.attachEvent('on' + eventName, browserHandler); } else if (element.addEventListener) { browserHandler = function(e) { return handler.call(element, new Sys.UI.DomEvent(e)); } element.addEventListener(eventName, browserHandler, false); } eventCache[eventCache.length] = { handler: handler, browserHandler: browserHandler, autoRemove: autoRemove }; if (autoRemove) { var d = element.dispose; if (d !== $telerik._disposeHandlers) { element.dispose = $telerik._disposeHandlers; if (typeof(d) !== "undefined") element._chainDispose = d; } } }
Please update stylebuilder to match up with latest controls.. there is no skin generated yet for tilelist and lightbox. also last update Q3 2013 doesnt include default skin files in telerik's folder. where i could download base skin files of telerik?
Hi, Before, I use devexpress and they give me all the file for his control to translate it in French Do tou have the same thing with your control ? Thanks Sylo
Currently, controls that have popups can have their z-index controlled as explained here: http://www.telerik.com/help/aspnet-ajax/controlling-absolute-positioning-with-zindex.html RadComboBox has an explicit ZIndex property. Should all controls with popup elements have such a property?
UploadedFiles collection needs to be available across post backs.
For the time being the following workaround can be used. JavaScript: <script> function pageLoad() { var chart = $find("<%=RadHtmlChart1.ClientID%>"); chart._chartObject.options.categoryAxis.axisCrossingValue = [0, 3]; chart.repaint(); } </script> ASPX: <telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" Width="600px" Height="400px"> <PlotArea> <Series> <telerik:ColumnSeries AxisName="axis1"> <SeriesItems> <telerik:CategorySeriesItem Y="30" /> <telerik:CategorySeriesItem Y="20" /> <telerik:CategorySeriesItem Y="10" /> </SeriesItems> </telerik:ColumnSeries> <telerik:ColumnSeries AxisName="axis2"> <SeriesItems> <telerik:CategorySeriesItem Y="3100" /> <telerik:CategorySeriesItem Y="2700" /> <telerik:CategorySeriesItem Y="1400" /> </SeriesItems> </telerik:ColumnSeries> </Series> <XAxis AxisCrossingValue="2"> <Items> <telerik:AxisItem LabelText="item 1" /> <telerik:AxisItem LabelText="item 2" /> <telerik:AxisItem LabelText="item 3" /> </Items> </XAxis> <YAxis Name="axis1"> </YAxis> <AdditionalYAxes> <telerik:AxisY Name="axis2"></telerik:AxisY> </AdditionalYAxes> </PlotArea> </telerik:RadHtmlChart>