Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
132 views
Hello,

We're having the following issue:

- SharePoint 2007 SP3
- RadEditor WebPart v5.7.3.0
- RadEditorMOSS.wsp deployed to webapp
- configured web.config as outlined here: http://www.telerik.com/help/aspnet-ajax/moss-install-aspnet-ajax-35.html

When we try to get the RADEditor Webpart programatically via the SPLimitedWebPartManager, all WebParts show up as error WebParts (not only the RADEditor WebPart, but also all SPOOB WebParts). Once we retract the RadEditorMOSS.wsp Solution, we get the WebPart back correctly.
Our issue is now, that we need the RADEditor WebPart to extract the RADEditor Content for processing. Any idea how we can get to this content?

Thanks,
André
André
Top achievements
Rank 1
 answered on 21 Apr 2012
3 answers
119 views
I have to use Appointment control from Rad Scheduler ,but at the same time I want to hide Day ,week and Month view .
Just Like this....


Please Help me ,to solve this problem...
Cat Cheshire
Top achievements
Rank 1
 answered on 21 Apr 2012
1 answer
76 views
Hi,

I create a standalone follow the instruction in the following link
http://www.telerik.com/support/kb/aspnet-ajax/editor/using-the-image-and-document-managers-outside-radeditor.aspx

my questions are:
1. there is a insert button on the dialog, is there a way to change the text from insert to Select?
2. I don't want customer select file which size is greater than 3MB, can I show up a warning message when they click insert button if the selected file is greater than 3MB or there is another way to prevent customers doing that? I tried MaxUploadFileSize but it just prevent customers uploading files.

thanks,

Rumen
Telerik team
 answered on 21 Apr 2012
1 answer
106 views
Hi,

Applying Font Size in Safari is making the text to disappear

Below is the step to reproduce:
    Type in some text in the editor in Safari. Select a part of the text and apply the font size from drop drop down (eg: 12px).
    The text selected disappears.

Currently we are using RealFontSize tool. We tried using FontSize instead of RealFontSize. But the Fontsize dropdown displays 1,2,3,4 instead of 8px, 9px, 10px etc.

We are using 2008.3.1125.20.
Rumen
Telerik team
 answered on 21 Apr 2012
1 answer
385 views

Hello

I have a radEditor for which I need to provide relative paths for its various CSS files.

For example:

<CssFiles>
  <trk:EditorCssFile Value="stylesheets/EditorContentArea.css" />
</CssFiles>

where the 'stylesheets' folder would be a subfolder in the same folder as the markup and code files.

But the relative path doesn't work, whereas using an absolute path is successful, e.g., this path does find the CSS file in question:

<CssFiles>
  <trk:EditorCssFile Value="~/[path_to_my_stylesheets]/EditorContentArea.css"

</CssFiles>

What could be occurring here? Is the a behaviour that can be configured and changed somehow to enable the use of a relative path. Possibly at the time of processing, the relative path is being determined from a different location to that of the markup file?

If anyone can point me in the right direction it would be very greatly appreciated!

Regards

 

Rumen
Telerik team
 answered on 21 Apr 2012
1 answer
169 views
I'm getting the following error when attempting to open a new radcontrols ajax web application project (VS2010):

Error executing custom action
Telerik.Web.UI.VSX.Actions.UnfoldFilesAction: Exception of type
'Telerik.VSX.TextTemplating.TemplateException' was thrown.

This just started happening in the last couple of days.  I am totally up-to-date on my RadControls and have reinstalled from the latest download with the same result.

Thanks.
Petar
Telerik team
 answered on 21 Apr 2012
1 answer
211 views
The treeview sorts the items regardless of the way they are added to it (as a collection or individually).
I'd like to disable the auto sorting of the items in the tree but so far can't see the .sort() method as outlined in some other posts.

The version used is v2012.1.301.35 Trial.

Plamen
Telerik team
 answered on 21 Apr 2012
1 answer
66 views
I would like to use the RadDateInput in such a way that it only displays the short month followed by the full year, but only requires the entry of the month number and the short year. For example, a user can input 4/12 and it will display Apr 2012.

If I do something like:
<telerik:radDateInput ID="DateInput2"
runat="server"
DisplayDateFormat="MMM yyyy"
DateFormat="MM/yy">
</
telerik:radDateInput>
it throws an error in Javascript "SCRIPT5007: Unable to get value of the property 'Month': object is null or undefined"

Adding a 'd' somewhere into the DateFormat but keeping the 'MM/yy' first so that it reads something l ike 'MM/yy/d' will work how I want, however, if a user needs to edit a date, clicking into the field changes the text to 04/2012/[today's day number] which is confusing since the only data that is relevant in the field is month and year.

I find that this error actually gets thrown if you ever omit anything from the DateFormat; having only day and year, only day and month, or only month and year will cause this error to be thrown. Is there any way around this? Or is that a limitation based on the current design of the control?
Jayesh Goyani
Top achievements
Rank 2
 answered on 21 Apr 2012
2 answers
284 views
Hello friends,


We are using RadEditor in our application.I am getting problem with OnClientPasteHtml() .This event is woking only when i paste something in Design mode and not working in HTML mode of RadEditor.
I have also tried to attach onpaste event  but its also not firing when i paste something on Editor's HTML mode.
I don't know where is going wrong in my code.
This is my code,

<script type="text/javascript">
 function OnClientLoad(editor, args) {                
                editor.attachEventHandler("onkeydown", function(e) {
                    setTimeout(function() {                 
                    var length = $find("<%=RadEditor1.ClientID %>");
                       
                    }, 0);
                });

                editor.attachEventHandler("onpaste", function(e) {
                    setTimeout(function() {                      
                        var length = $find("<%=RadEditor1.ClientID %>");

                    }, 0);
                });

            }


 </script>
<
telerik
:RadEditor runat="server" ID="RadEditor1"
StripFormattingOnPaste="NoneSupressCleanMessage" OnClientLoad="OnClientLoad"

 

</telerik:RadEditor>
onkeydown is working fine but onpaste not working.
Any idea?

Thanks in Advance
Rehan


Rumen
Telerik team
 answered on 21 Apr 2012
1 answer
97 views
Hi, I am trying to populate a RadGrid with a sub table. i can't manage to get the sub table populated (the link between table doesn't seems to be correctly setup).

I have manager to make it working with a simple grid having the property AutoGenerateHierarchy="true" and providing a single dataset with DataRelation.

How can I make it work without the setting AutoGenerateHierarchy? I don't want the columns to be automaticaly populated.

Can you help me?

--------------- ASP code ---------------------
<telerik:RadGrid runat="server" ID="MainGrid" Skin="Office2007"  Height="100%" Width="100%"
    AutoGenerateHierarchy="false" AutoGenerateColumns="false">
    <MasterTableView HierarchyLoadMode="Client">
        <DetailTables>
            <telerik:GridTableView DataKeyNames="SubTableID" Name="SubGrid" Width="100%"
                AutoGenerateColumns="false">
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="SubTableID" MasterKeyField="ID" />
                </ParentTableRelation>
                <Columns>
                    <telerik:GridBoundColumn HeaderText="SubTableID" DataField="SubTableID" />
                    <telerik:GridBoundColumn HeaderText="ValueColumnInSubTable" DataField="ValueColumnInSubTable" />
                </Columns>
            </telerik:GridTableView>
        </DetailTables>
        <Columns>
            <telerik:GridBoundColumn HeaderText="ID" DataField="ID" />
            <telerik:GridBoundColumn HeaderText="ValueColumnInMainTable" DataField="ValueColumnInMainTable" />
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
  

---------------- VB code ------------------------
   Dim dsMain As DataSet = GetMainDataset()
   Me.MainGrid.DataSource = dsMain

   Dim dsSub As DataSet = GetSubDataset()
   Me.MainGrid.MasterTableView.DetailTables(0).DataSource = dsSub
   Me.MainGrid.DataBind()
Jayesh Goyani
Top achievements
Rank 2
 answered on 21 Apr 2012
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?