Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
436 views
Hi,
       How can i Set the column width in percentage in Export Pdf. I could set the column width in pixels and also it is worked in pdf file.
But i need to set the width in % because my all of the column widths are measured in %.

I used the same way of fixing the width in pixels but in % it is not working..

-Thanks
Daniel
Telerik team
 answered on 10 Mar 2010
7 answers
412 views
The error below is showing when using the Radgrid.
The server has Medium Trust Level. Others component such as Tabstrip is working.
The telerik version is "2009.2.826.35".
We have also add the line to the web.config:
 

<

 

add assembly="Telerik.Web.UI, Version=2009.2.826.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>
<httpHandlers>
<add path="Telerik.Web.UI.WebResource.axd" verb="*"

 

 

 

 

 

type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

 

 

 

validate="false" />

 

 

</

 

httpHandlers>

 

 

 

 

 

 

 

 

 
 
Could not load file or assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.   
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.   
 
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.  
 
Source Error:   
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.    
 
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' could not be loaded.  
 
Pavlina
Telerik team
 answered on 10 Mar 2010
1 answer
113 views
Hello,

could you please tell me how to customize the aspect
of CheckBoxes width RadFormDecorator (Q3 2009)?
 
Thank you
 
Alberto Bresesti
Svetlina Anati
Telerik team
 answered on 10 Mar 2010
1 answer
132 views
We might use any culture in our system and we are allowed to override the DateTime formats for it.

for example en-GB usually the shortdate format gives 25/02/2010 but we might override it with MM/dd/yyyy for example which gives 02/25/2010 a US style format.

This seems to work when the DateInput.ReadOnly is set to false but doesn't seem to work when ReadOnly is set to true.

Any ideas?

Martin
Martin
Telerik team
 answered on 10 Mar 2010
3 answers
1.5K+ views
The application is using a RAD Editor and trying to save the HTML code for UP arrow - &uarr; . The application is using recommended settings for supporting appearance of odd characters as mentioned http://www.telerik.com/help/aspnet/editor/appearanceofoddcharactersaftersavingradeditorscontentindatabase.html.

However, when I save the text from the RAD Editor to the database (the db type is ntext) , it does not save the HTML code i.e. &uarr;
and when displayed back in an HTML page it displays as question mark "?"

How do i get the database to save the text as &uarr; from the editor?
Rumen
Telerik team
 answered on 10 Mar 2010
3 answers
142 views
Hi.

I have a RadEditor to which I have added a custom module called a PropertyBar by using code like the following:
                showDetail: function() {  
                        var selectedElement = this.get_editor().getSelectedElement();  
 
                        var span = document.createElement("SPAN");  
                        var element = this.get_element();  
 
                        if (selectedElement.nodeName == "comment") {  
                            if (selectedElement.attributes["commentValue"] != undefined)  
                                span.innerHTML = "Comments Made: " + selectedElement.attributes["commentValue"].value;  
 
                            element.appendChild(span);  
                        }  
 
                        element.style.border = "1px solid gray";  
                        element.style.marginTop = "3px";                    }  
                };  
 
                MyModule.registerClass('MyModule', Telerik.Web.UI.Editor.Modules.ModuleBase); 

In Firefox, the property bar renders properly, ie, it displays the property bar inside the editor, so the text that is to be displayed remaines contained in a set area.  In other words, if I have set a hieight of 500 for my editor, and the property bar needed 200px to display what it needed to display, the height of the editor would remain at 500, but the text portion would change to 300, and the property bar would get the remaining 200px

However, in IE, the property bar renders outside the editor, so if there is anything below the editor (which there is), the text just renders on top of the things that are displayed below the editor.  Using the same example, if the editor was 500, the property bar needed 200px to display the text that it needed to display, the editable text would get 500px, the property bar would start at 500 and render to 700, and the text that it needed to display would just get written over the objects that were below the editor.

I'm pretty sure this is the classic IE vs Firefox discussion about how divs are rendered that is all over the HTML forums, but I'm not sure, and am further unsure of how to resolve the problem so that both browsers will render the proeperty bar properly.

Any ideas?
Rumen
Telerik team
 answered on 10 Mar 2010
5 answers
194 views
I'm having an issue with the RadEditor for MOSS. I've confirmed that one of the Telerik control  emitted Javascripts seems to be adding inline CSS style to the top level div of the editor, namely min-height, min-width. This is causing layout issues on my page. My question is why is it doing this, and how do I prevent this from happening?

<div style="height: 300px; width: 100%; min-height: 300px; min-width: 1133px;" class="RadEditor Default reWrapper ms-input" id="ctl00_PlaceHolderMain_EditModePanel2_EditLessonPlan_GoalField_ctl00">

Thanks,
-James





Stanimir
Telerik team
 answered on 10 Mar 2010
1 answer
101 views
Hi,

I'm using Telerik version 2008.2.1001.35.

 <telerik:RadMaskedTextBox ID="masked" runat="server" Mask="##### #####"  DisplayMask="##### #####"
      DisplayPromptChar="" PromptChar="" SelectionOnFocus="None" ResetCaretOnFocus="false" HideOnBlur="true">
     </telerik:RadMaskedTextBox>

 This is my code. After entering numbers, if i select any number in the middle and press delete, then it automatically changes the cursor position to the beginning. (IE 6,7,8)  Am i doing something wrong? Please reply
Nikolay Rusev
Telerik team
 answered on 10 Mar 2010
3 answers
138 views

Hi,

    I'm using RadGrid and getting the error below.  I searched through previous similar posts, but I don't believe the problem is with the Telerik,Web.UI assembly version, because I've got the RadMenu control working perfectly in the same app using the same Web.config file.  You can see the error by going to http://www.murrayhilltech.com/article_list2.aspx .  You can verify that the RadMenu is working on the same site by going to http://www.murrayhilltech.com .  Here's the error:

Could not load file or assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

Thanks.
Dave

Tsvetoslav
Telerik team
 answered on 10 Mar 2010
4 answers
195 views
Hi, I'm trying to have my radeditor in french but it doesn't work, all is in english.
Here is what I've done :

<telerik:RadEditor ID="txtContenu" Runat="server" Height="600px" Skin="Web20" Language="fr-FR"> 
    <Tools> 
        <telerik:EditorToolGroup> 
            <telerik:EditorTool Name="Print" /> 
            <telerik:EditorTool Name="FindAndReplace" /> 
            <telerik:EditorSeparator /> 
            <telerik:EditorTool Name="Undo" /> 
            <telerik:EditorTool Name="Redo" /> 
            <telerik:EditorSeparator /> 
            <telerik:EditorTool Name="Cut" /> 
            <telerik:EditorTool Name="Copy" /> 
            <telerik:EditorTool Name="Paste" /> 
            <telerik:EditorTool Name="PasteFromWord" /> 
            <telerik:EditorSeparator /> 
            <telerik:EditorTool Name="JustifyLeft" /> 
            <telerik:EditorTool Name="JustifyCenter" /> 
            <telerik:EditorTool Name="JustifyRight" /> 
            <telerik:EditorTool Name="JustifyFull" /> 
            <telerik:EditorSeparator /> 
            <telerik:EditorTool Name="Bold" /> 
            <telerik:EditorTool Name="Italic" /> 
            <telerik:EditorTool Name="Underline" /> 
            <telerik:EditorTool Name="Forecolor" /> 
            <telerik:EditorTool Name="BackColor" /> 
            <telerik:EditorTool Name="LinkManager" /> 
            <telerik:EditorTool Name="Unlink" /> 
            <telerik:EditorSeparator /> 
            <telerik:EditorTool Name="ImageManager" /> 
        </telerik:EditorToolGroup> 
    </Tools> 
</telerik:RadEditor>

I don't know where I am wrong. Could someone tells me?

Thank you,

Julien
Rumen
Telerik team
 answered on 10 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?