I have a RadEditor as can be seen below.
The default font seems to be Arial and size 14. Then I paste some plain text in the editor and yet when I check the txtDescription.Content property the text does not have any font name/size details.
If I were to change the font/size to anything other than the default values the .Content property contains <span font:... etc which is what I need.
How can I get this CSS formatting included even with the default font name and size?
<telerik:RadEditor ID="txtDescription" runat="server" Skin="Metro" Width="900px" EditModes="Design" ContentAreaMode="Div" NewLineMode="Br" NewLineBr="true" EnableAjaxSkinRendering="False" Height="200px" OnClientLoad="RadEditorLoad"> <Tools> <telerik:EditorToolGroup Tag="MainToolbar"> <telerik:EditorTool Name="SelectAll" ShortCut="CTRL+A / CMD+A" /> <telerik:EditorTool Name="Cut" ShortCut="CTRL+X / CMD+X" /> <telerik:EditorTool Name="Copy" ShortCut="CTRL+C / CMD+C" /> <telerik:EditorTool Name="Paste" ShortCut="CTRL+V / CMD+V" /> <telerik:EditorToolStrip Name="PasteStrip"> <telerik:EditorTool Name="PasteFromWord" /> <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" /> <telerik:EditorTool Name="PastePlainText" /> </telerik:EditorToolStrip> <telerik:EditorSeparator /> <telerik:EditorSplitButton Name="Undo"> </telerik:EditorSplitButton> <telerik:EditorSplitButton Name="Redo"> </telerik:EditorSplitButton> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="Superscript" /> <telerik:EditorTool Name="Subscript" /> <telerik:EditorTool Name="InsertParagraph" /> <telerik:EditorTool Name="InsertGroupbox" /> <telerik:EditorTool Name="InsertHorizontalRule" /> <telerik:EditorTool Name="InsertDate" /> <telerik:EditorTool Name="InsertTime" /> <telerik:EditorSeparator /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorDropDown Name="FormatBlock"> </telerik:EditorDropDown> <telerik:EditorDropDown Name="FontName"> </telerik:EditorDropDown> <telerik:EditorDropDown Name="RealFontSize"> </telerik:EditorDropDown> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="AbsolutePosition" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Bold" ShortCut="CTRL+B / CMD+B" /> <telerik:EditorTool Name="Italic" ShortCut="CTRL+I / CMD+I" /> <telerik:EditorTool Name="Underline" ShortCut="CTRL+U / CMD+U" /> <telerik:EditorTool Name="StrikeThrough" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="JustifyLeft" /> <telerik:EditorTool Name="JustifyCenter" /> <telerik:EditorTool Name="JustifyRight" /> <telerik:EditorTool Name="JustifyFull" /> <telerik:EditorTool Name="JustifyNone" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Indent" /> <telerik:EditorTool Name="Outdent" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="InsertOrderedList" /> <telerik:EditorTool Name="InsertUnorderedList" /> <telerik:EditorSeparator /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorSplitButton Name="ForeColor"> </telerik:EditorSplitButton> <telerik:EditorSplitButton Name="BackColor"> </telerik:EditorSplitButton> <telerik:EditorSplitButton Name="InsertSymbol"> </telerik:EditorSplitButton> <telerik:EditorTool Name="ConvertToLower" /> <telerik:EditorTool Name="ConvertToUpper" /> </telerik:EditorToolGroup> </Tools> <Content> </Content> <TrackChangesSettings CanAcceptTrackChanges="False"></TrackChangesSettings> </telerik:RadEditor>
var grid = sender;var MasterTable = grid.get_masterTableView();var row = MasterTable.get_dataItems()[args.get_itemIndexHierarchical()];var value1= MasterTable.getCellByColumnUniqueName(row, "HiddenRow1").innerHTML;var value2= MasterTable.getCellByColumnUniqueName(row, "HiddenRow2").innerHTML;Is there an option to re order the telerik filter menu? We are using default filter functionality provided.
Our client needs 'contains' option at the top of the filter menu. Also, is it possible to have some common code so that it can be used across our site. Because we are using more than 20 grids in our application and this change should reflect in all the grids.
Hello,
How do you set default insert value to today for a GridDateTimeColumn in a RadGrid configured to use Batch edit mode?
Thank you.
Amy
Hi,
When i select all the text in the editor and change the font name from, say 'Arial' to 'Verdana', font of the text is changed to 'Verdana' correctly but the font name drop down still shows the font name 'Arial' selected. This issue is with IE 11 and working correctly with lower versions of IE.
I am using Telerik version v2014.3.1209.35

Windows 10 with Firefox and Chrome, Material skin not rendering properly (see attached image)
the "lightweight" is missing image; normal is missing button edge?
<telerik:RadButton ID="btnSave" runat="server" OnClick="btnSave_Clicked"
Text="Save Note" Skin="Material" RenderMode="Lightweight">
<Icon PrimaryIconCssClass="rbSave"></Icon>
</telerik:RadButton>
<telerik:RadButton ID="RadButton2" runat="server" OnClick="btnSave_Clicked"
Text="Save Note" Skin="Material">
<Icon PrimaryIconCssClass="rbSave"></Icon>
</telerik:RadButton>
Is it possible to Make X axis cross Y axis at different point other then (0,0) for example (0,10)?
I need to raise or lower X axis along Y axis based on some condition.
Cheers,
Alex
Hiya!
I'm nearing completion of an advanced configurable dashboard using RadHtmlCharts and various other controls. (See attached image for an idea.) These are all created problematically, based on what a user has assigned to them when they log into the system, so different users may have different charts on their dashboard page. Usually about 6 tiles.
I've gotten single chart PDF exporting working, that I believe came out in the Q1 2015 release but now I would like to try something a bit bigger. What I would like to do now is to export all of the charts displayed on the page to a single PDF. Similar to the functionality presented in the Kendo UI chart export example (http://demos.telerik.com/kendo-ui/pdf-export/index).
Is this at all possible? If so...whats the best way to go around doing it?
In demo telerik web site, we see menu/slider on left side and mobile support this function.
What control does it use? We want similar function in our website
Thanks for your help and advices