Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
178 views

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>

Ianko
Telerik team
 answered on 15 Jan 2016
10 answers
525 views
Hello everyone,
i am trying to hide columns in a RadGrid through the OnColumnCreated-event in the code-behind.
The Radgrid is bound to the Data in the PageLoad by just assigning a DataTable as DataSource.
On the clientside the hidden columns should really just be hidden, so that i can access them through JavaScript because i want to react on OnRowClick and need the information.
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;

The OnRowClick then does an async postback by using the RadAjaxManager and then i can handle everything in the code behind but i still need those values.
How can i hide columns and still get access them on the client side?
Or is there a way to use just the rownumber to get the Row and its values on the server side?
Maria Ilieva
Telerik team
 answered on 15 Jan 2016
3 answers
164 views

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.

 

Jayesh
Top achievements
Rank 1
 answered on 15 Jan 2016
12 answers
889 views

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

Maria Ilieva
Telerik team
 answered on 15 Jan 2016
7 answers
108 views

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

Ianko
Telerik team
 answered on 15 Jan 2016
1 answer
170 views

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>

Danail Vasilev
Telerik team
 answered on 15 Jan 2016
1 answer
80 views

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

Danail Vasilev
Telerik team
 answered on 15 Jan 2016
7 answers
611 views
I'm using Radgrid CommandItem Savechanges button to save all the changes from the batch edit. I'm trying to apply CSS style like horizontal alignment to right, change the background color and so on. I used CommandItemStyle option but it's not showing any changes in the save changes button. Is this possible to apply CSS style to SaveChanges button?. I can't able to use CommandItemTemplate because i can't able to get changed batch edit items in the custom button click.
Konstantin Dikov
Telerik team
 answered on 15 Jan 2016
4 answers
288 views

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?

Danail Vasilev
Telerik team
 answered on 15 Jan 2016
1 answer
89 views

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

Dimitar
Telerik team
 answered on 15 Jan 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?