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

I have a problem where the content in the editor breaks its formatting when its Enabled (in edit mode) i have a parent div with the class "center" that sets the text alignment and the editor shows the content correctly when Enabled is set to False (view mode), but as soon as its in edit mode it aligns the content to the Left.

Any help is appreciated,

Christian

 

.center{
    text-align:center !important;
}

 

<section class="blue darken-4 white-text padding bgMonster">
    <div class="wrapper center padding">
 
         
 
        <telerik:RadEditor ID="edSLPDesc" runat="server" Enabled="False" Width="100%" ContentAreaMode="Div" AutoResizeHeight="True" NewLineMode="Br" BorderStyle="None" data-page="Default" data-section="slpDesc" EditType="Inline" ToolbarMode="ShowOnFocus" EditModes="Design, Html">
            <Content>
                <h4><em>text goes here...</em></h4>
            </Content>
        </telerik:RadEditor>           
 
 
 
    </div>
</section>

Christian
Top achievements
Rank 1
 answered on 15 Aug 2016
1 answer
183 views

I have seen few threads discussing about cursor but none of them are including all these 3 issues. So opening a new thread.

we are using Telerik 2014.2.724.45. I know there are latest versions available. Since our application is already has gone live, we cannot upgrade the version now. So please suggest any hotfix available.

We are facing cursor issue in multiple scenarios.
     1) when some special characters are copy pasted, like '&nbsp;' , '\r' or 'char(10)', on editing or deleting cursor moves to some different position.
          we have provided the fix which is mentioned below but still users has reopened this issue. so can you please suggest anything else has to be taken care?
          we have added OnClientPasteHtml="RemoveHtmlContents"
          function RemoveHtmlContents(editor, args) {
                 var pasteText = args.get_value();
                 if (pasteText.indexOf("&nbsp;") > -1) {
                         pasteText = pasteText.replace(/&nbsp;/g, '');
                 }
                 if (pasteText.indexOf("&amp;") > -1) {
                        pasteText = pasteText.replace(/&amp;/g, '&');
                 }
                 pasteText = pasteText.replace(/\r\n|\n|\r/g, ' ');
                args.set_value(pasteText);
          }

2) When track changes are enabled and on pressing enter some time cursor moves back to previous line but on typing it will come to next line
I have found this issue for different version here -  http://feedback.telerik.com/project/108/Feedback/Details/134999-incorrect-behavior-when-pressing-enter-with-enabled-track-changes  will this fix this issue?

 

3) When started editing after enabling track changes. In between if I come back and edit at position a it goes back position b, (a & b are shown in the image attached.

Marin Bratanov
Telerik team
 answered on 15 Aug 2016
1 answer
163 views
we are using Telerik 2014.2.724.45. I know there are latest versions available. Since our application is already has gone live, we cannot upgrade the version now. So please suggest any hotfix available.

We are enabling track changes property
1) When making the content Bold using shortcut (CTRL + B) or from the option provided by radeditor, there appears box some times(please see the attachment).

2) Some times there are more than 1 reject track changes button appears on the screen. (please see the attachment).
Marin Bratanov
Telerik team
 answered on 15 Aug 2016
1 answer
128 views

Hi I have added a date column using 

         // Add a new column for the date
                GridTemplateColumn gridTemplateColumn1 = new GridTemplateColumn();
                gridTemplateColumn1.HeaderText = "Creation Date";
                gridTemplateColumn1.SortExpression = "Date";
                gridTemplateColumn1.UniqueName = "Date";
                gridTemplateColumn1.DataField = "Date";
                RadFileExplorer1.Grid.Columns.Add(gridTemplateColumn1);

 

But i cant see how to populate the column. 

 

Vessy
Telerik team
 answered on 15 Aug 2016
3 answers
117 views

Hi I am trying to rename the Upload item in the contextual menu. But i cant find anywhere how to do this.

 

Any help would be appreciated.

Vessy
Telerik team
 answered on 15 Aug 2016
7 answers
764 views
If a radwindow with a contenturl is rendered as an iframe, how is one with a content template rendered?

Also,
What is the actual effect of using the destroy onclose property? If it is not used, how is the form "stored"?
Marin Bratanov
Telerik team
 answered on 15 Aug 2016
3 answers
150 views

Hello,

I would like to ask you, how to use em or % unity instead of px when calling radalert from client side. I follow code script from documentation:

http://docs.telerik.com/devtools/aspnet-ajax/controls/window/alert,-confirm,-prompt-dialogs/radalert-dialog

Parameters width and height accept only values in px. But what If I want to change radalert window width based on different screen resolutions ?

My example is in the attachment. The radalert has width 420px. When user changes screen resolution to small, it means @media only screen and (min-width: 361px) and (max-width: 768px). Font has been changed but radalert window width remained the same (I want to decrease its width based on resolution).

Please help me to solve this issue.

Thank you.

Best regards

Vasssek

Marin Bratanov
Telerik team
 answered on 15 Aug 2016
1 answer
766 views

I am not getting the DataValueField from AutoCompleteBox using JAVASCRIPT.

I am getting the Text name of the field but not there ID/Value.\

i go thru various Telerik post ,i founf get_value() function but  when i am using it dosn't work.

suggest me the what can i do.

<p> function textChanged(sender, eventArgs) {</p>
alert("The text currently present in the input area of RadAutoCompleteBox is: " + eventArgs.get_text());<br>
 }

this textChanged function i put on

<telerik:RadAutoCompleteBox RenderMode="Lightweight" ID="txtPatient" runat="server" Filter="Contains" Width="100%"<br>InputType="Text" DataValueField="MTPatientID" DataTextField="Patient" EmptyMessage="Select Patient" WebServiceSettings-Method="BindAllpatient" MinFilterLength="4" OnClientTextChanged="textChanged"><br> <WebServiceSettings Method="GetCompanyNames" Path="QAFileProcess.aspx" /><br>                                <TextSettings SelectionMode="Single" /><br></telerik:RadAutoCompleteBox>

 

please suggest me how can i find the value.

Nencho
Telerik team
 answered on 15 Aug 2016
1 answer
417 views

Hello, Does anyone know if Telerik has any controls that can create a gui decision tree?  I am looking to create something similar to http://www.activecampaign.com/automation/

 

Thanks in advance!

Vessy
Telerik team
 answered on 15 Aug 2016
0 answers
122 views

telerik:RadRibbonBar crashed when put telerik:RadRibbonBar  inside another telerik:RadRibbonBar and place telerik:RibbonBarTemplateItem in child telerik:RadRibbonBar.

Error on page is:  "Cannot read property 'width' of undefined"

 

 

<telerik:RadRibbonBar ID="RadRibbonBar1" runat="server" EnableMinimizing="true" Width="100%" Minimized="True" RenderMode="Lightweight">
        <Tabs>
            <telerik:RibbonBarTab Text="Dashboard">
                <telerik:RibbonBarGroup Text="Dashboard">
                    <Items>
                        <telerik:RibbonBarTemplateItem>
                            <telerik:RadRibbonBar ID="RadRibbonBar2" runat="server" EnableMinimizing="true" Width="100%" Minimized="True" RenderMode="Lightweight">
                                <Tabs>
                                    <telerik:RibbonBarTab Text="My Account">
                                        <telerik:RibbonBarGroup Text="Accounts">
                                            <Items>
                                                <telerik:RibbonBarTemplateItem>
                                                    <telerik:RadButton ID="RadButton1" runat="server" Text="RadButton"></telerik:RadButton>
                                                </telerik:RibbonBarTemplateItem>
                                            </Items>
                                        </telerik:RibbonBarGroup>
                                    </telerik:RibbonBarTab>
                                </Tabs>
                            </telerik:RadRibbonBar>
                        </telerik:RibbonBarTemplateItem>
                    </Items>
                </telerik:RibbonBarGroup>
            </telerik:RibbonBarTab>
        </Tabs>
    </telerik:RadRibbonBar>
SURYA
Top achievements
Rank 2
 asked on 14 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?