Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
29 views
Currently we are using Radeditor control. We have set the 4000 maxlenght for this control.If user enter 4000 character and then apply some format/alignment on the text and then again try to add the text then we will lost all the formatting or alignment that we had applied for the text. So according to me, this might be the limitation of this control because if we apply any formatting to the text,HTML text is also gets added into the normal text.

So please any one help on this. How to resolve this or Is it a default behavior of radeditor control.

Telerik version : 2012.1.411.40
Stanimir
Telerik team
 answered on 06 Sep 2013
1 answer
72 views
I have two RadPane left and right of the page

In Left pane  is with radgrid and right pane is RadTabstrip.When i click the row in the radgrid (Itemdatabound event) the right side pane has to change.

This is working fine in Local but giving error in the web.

The error is


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; MS-RTC LM 8)
Timestamp: Tue, 3 Sep 2013 11:22:01 UTC


Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed.
Line: 868
Char: 13
Code: 0
URI: https://qaizentest.qatarairways.com.qa/QACC.UI/ScriptResource.axd?d=TN7G-b6RTbtU3hFe2Qnj4pTcTZu3eM5TRIgccusA_okb9b_I6S5xI0Cy_mmx5SlvJ3ami41e1_UhcWfR8isM2s3UYrTZ-GWcKqwz_GpS_gm3w_96fIEk2n8lSb5hd-sD0&t=16ab2387


Konstantin Dikov
Telerik team
 answered on 06 Sep 2013
1 answer
469 views
I am trying to update the contents of the control using Javascript.   I can update the value of a simple text box but not the RadEditor.  

In order to update a simple aspx textbox I use the code

var editor = document.getElementById('<%= txtTest.ClientID %>');

editor.value = "some text";

How do i do the same for a RadEditor rich text box?   

Thanks.

(I am using the lastest version of the control)

 

Marin Bratanov
Telerik team
 answered on 06 Sep 2013
3 answers
284 views
I am using Rad Editor version -2010.3.1109.35.

According to my client requirement i need to create font sizes in pts.

For this i have made below changes (I am adding the RadEditor through code)

1.)In ToolsFile by adding "RealFontSize"

 <tools name="MainToolbar" enabled="true">
    <tool name="Bold" />
    <tool name="Italic" />
    <tool name="Underline" />
    <tool separator="true"/>
    <tool name="FontName" />
    <tool separator="true"/>
    <tool name="RealFontSize" />
    <tool separator="true"/>
    <tool name="ForeColor" />
  </tools>
 <realFontSizes>
    <item value="8pt"></item>
    <item value="9pt"></item>
    <item value="10pt"></item>
    <item value="11pt"></item>
    <item value="12pt"></item>
    <item value="14pt"></item>
    <item value="16pt"></item>
    <item value="18pt"></item>
    <item value="20pt"></item>
    <item value="22pt"></item>
    <item value="24pt"></item>
    <item value="26pt"></item>
    <item value="28pt"></item>
    <item value="36pt"></item>
    <item value="48pt"></item>
    <item value="72pt"></item>
  </realFontSizes>
2.)Added event   txtRichTextEditor.OnClientSelectionChange = "OnClientSelectionChange";
    To convert px to pts

   function OnClientSelectionChange(editor, args) {
              var tool = editor.getToolByName("RealFontSize");
            if (tool) {
                setTimeout(function () {
                    var toolval = tool.get_value();
                    if (toolval.indexOf("px") != -1) {
                        var pointval = Math.round(parseInt(toolval) * 0.75) + "pt";
                        tool.set_value(pointval);
                    }
                }, 0);
            }
        }
3.)Content area css file
body
{
   font-family: Arial !important;
   font-size: 14px !important;
   color: black !important;
   background-color: white !important;
   text-align: left !important;
}
blockquote
{
    margin-left:40px !important;
    margin-bottom:0px !important;
    margin-right:0px !important;
    margin-top:0px !important;
}

I have two issues here
1.)Font Size could not be selected beforehand in Chrome and Safari browsers
   NOTE: Able to chage pts in mozilla and IE for the first time with out entering any text in RadEditor
2.)On selecting the font size for the first time and clicking in Text editor the Font Size is getting changed to 12 pt in FF browser and 11 pt in I.E 10 browser
Ex :- Say select the Font Size 22 pt for the first time and click in Text editor. Observed that the Font Size is getting changed to 12 pt/11pt

How can the two issues i have mentioned above be fixed?
How to achieve proper working of RealFontSizes(in pts) in all the browsers(IE,Mozilla,Chrome & Safari)?
Nikolay
Telerik team
 answered on 06 Sep 2013
1 answer
80 views
Hi I have several Rad Combo boxes that could potentially have tens of thousands of results in them and the performance of the combo boxes seems degrade after about 6000.

now i accept the argument that is far to many result to have in a combo anyway so my idea to fixes this was to pre-populate the combo with say 100 results and then allow the user to type in to the combo and get the combo to repopulate with the top 100 result for the search they are doing.  

problem is I needed to access the FilterText property to do this and it defined as a friend and will not let me access it. 

anyone know of a way round this?
Hristo Valyavicharski
Telerik team
 answered on 06 Sep 2013
1 answer
156 views
Hi,

I'm working with a Client that is using RadEditorSharePoint on a SharePoint 2007 solution where in the editor one can add any kind of link manually (f.ex. a mailto link) or choose to browse for a document/page in the SharePoint solution (see Attached screenshots).

Now, the Client has upgraded the site to SharePoint 2010 and also upgraded to the latest Version of RadEditorSharePoint.
Now, when a user chooses to add a link using the editor, a Site Asset dialog (SharePoint) appears, with no possibility to add a external link of any kind. Can only browse for SharePoint-assets (documents, pages, images etc.).

I have tried changing to LinkManager (instead of SPLinkManager) in the ToolsFile.xml file. The Telerik dialog appears where one can add custom links. However, when the user CLICKs the Document Manager, the start path is the current site, with no possibility to navigate up to f.ex. the site colleciton Level (nor any other site).

In the ConfigFile.xml file, I have the following property:
<property name="DocumentsPath"><item>/Documents</item>
According to Telerik's documentation, this should make the dialog start at the site Collection Level. It doesn't.

Is there a different property for the Link dialog or am I just doing something else wrong?

Thanks!
Stanimir
Telerik team
 answered on 06 Sep 2013
1 answer
458 views
Hi,

I have a radgrid on my page which has page numbers enabled. I am using Ajax Rad Manager for stopping postback. However, its not working which I click the page numbers of the grid. When I click the grid it is making a postback and loading the grid again.

Can someone tell me how to stop the page numbers from loading whole page?

Please let me know if you have any questions.

Thanks.
Princy
Top achievements
Rank 2
 answered on 06 Sep 2013
26 answers
338 views
Hi,

Am loosing control on appointment when am trying to drag and drop appointment on schedular control which as scrolling. It works fine in IE and problem lies with Firefox and Chrome browsers.

To produce this issues open below link in Firefox
http://demos.telerik.com/aspnet-ajax/scheduler/examples/outlook2007/defaultcs.aspx
Hope your schedular is displaying Monday, Feb 02, 2009. Scroll down to view 8.00 PM time slot. Try to drag and drop "Media Planning meeting" to 8.00 pm and you will find the issue.

could you please help me to resolve this issues.

Thanks in advance

Thanks & Regards,
Sumanth

Plamen
Telerik team
 answered on 06 Sep 2013
1 answer
230 views
I've got a radgrid that highlights a row on hover and allows me to postback when I click on a row. However, the highlighting is really weird in the case where one of the rows has enough content in a cell to require it to wrap two two or more lines. The top line is tinted and the remaining lines in the row have a bright red background color.

I have tried EnableAlternatingItems="false"  with no difference.

Thanks,

Jason Halstead
Princy
Top achievements
Rank 2
 answered on 06 Sep 2013
1 answer
103 views
Actually this Grid is place inside a Tab. First time when page appears this height in % works perfect but after Window refresh it will lost its height and scroll detached from bottom. Sample attached. Issue is only in IE10.
Konstantin Dikov
Telerik team
 answered on 06 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?