Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
241 views
Hello,
I am using MOSS and I'd like to add a button in the menu bar for full screen mode.
So I download the trial version of radeditor then I followed the tutorial "Using the toolsfile.xml" to implement the toolbar button for fullscreen RadEditor for Moss.
For that, I edit the file "toolsfile.xml" and added the line "<tool name="togglescreenmode" shortcut="F11" />"

The icon appears in the toolbar, but full screen does not work. I get this error message:
"Could not find the command togglescreenmode. Please update your command list."

If someone had an idea, thank you


Stanimir
Telerik team
 answered on 30 May 2009
1 answer
98 views
Hello

i want to AJAX spell check functionality in  my application

i done this code
<telerik:RadEditor ID="RadEditor1" runat="server" EditModes="Design"
                                Skin="Office2007"  Height="200px" Width="460px">
                              
                                <Tools>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Enabled="true" Name="AjaxSpellCheck"  ShowIcon="true" />
                                        <telerik:EditorTool Enabled="true" Name="FindAndReplace" ShowIcon="true" />
                                        <telerik:EditorTool Enabled="true" Name="Undo" ShowIcon="true" />
                                        <telerik:EditorTool Enabled="true" Name="Redo" ShowIcon="true" />
                                        <telerik:EditorTool Enabled="true" Name="Cut" ShowIcon="true" />
                                        <telerik:EditorTool Enabled="true" Name="Copy" ShowIcon="true" />
                                        <telerik:EditorTool Enabled="true" Name="Paste" ShowIcon="true" />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Enabled="true" Name="Bold" ShowIcon="true" />
                                        <telerik:EditorTool Enabled="true" Name="Italic" ShowIcon="true" />
                                        <telerik:EditorTool Enabled="true" Name="Underline" ShowIcon="true" />
                                    </telerik:EditorToolGroup>
                                </Tools>
                                <Content></Content>
                            </telerik:RadEditor>

ON page load
 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Page.IsPostBack Then
            RadEditor1.Languages.Add(New SpellCheckerLanguage("en-US", "English"))
        End If
    End Sub


And in web.confige file

 <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>

But it genrates error like thisss  : Spell Check Server Error 500


shryan reply me fast


Svetlina Anati
Telerik team
 answered on 30 May 2009
3 answers
185 views
Hi, we are using the latest version of the telerik editor (5.4.0).

We made a custom paragraphstyles in the editor. But we have some problems in this new version, which were not in the 5.3.2 version.

Part of the toolsfile.xml with the custom paragraph styles:
<paragraphs> 
    <paragraph name="&lt;span class='ms-rteCustom-Headline'>Headline&lt;/span>" value="&lt;span class='ms-rteCustom-Headline'>" /> 
    <paragraph name="&lt;span class='ms-rteCustom-Headline-TeaserArea'>Headline-TeaserArea&lt;/span>" value="&lt;span class='ms-rteCustom-Headline-TeaserArea'>" /> 
    <paragraph name="&lt;span class='ms-rteCustom-Headline-TeaserArea-AccentuatedText' style='background-color: #336fa3;'>Headline-TeaserArea-AccentuatedText&lt;/span>" value="&lt;span class='ms-rteCustom-Headline-TeaserArea-AccentuatedText'>" /> 
    <paragraph name="&lt;span class='ms-rteCustom-SubHeadline'>SubHeadline&lt;/span>" value="&lt;span class='ms-rteCustom-SubHeadline'>" /> 
    <paragraph name="&lt;span class='ms-rteCustom-TextAccentuation'>TextAccentuation&lt;/span>" value="&lt;span class='ms-rteCustom-TextAccentuation'>" /> 
    <paragraph name="&lt;span class='ms-rteCustom-TextDefault'>TextDefault&lt;/span>" value="&lt;span class='ms-rteCustom-TextDefault'>" /> 
  </paragraphs> 
  

  • When I type something in the editor on the first line, and the first line is the online line that contains characters or spaces. And I select the text en give the text a new paragraph style, the style is not applied. When I put in a new line and I want to apply the style to the first line, the style is applied. In short, the styl is only applied if there is more than 1 line in the editor. (This applies to the 5.3.2 version and the 5.4 version)
  • I created a table, put in some text in the first cell. I select the test and want to apply a paragraph style. When I do that. The style is not applied and the tabel only contains the cell the text is in. Before After
      The strange thing is, sometimes an other thing happens. Sometimes the style is applied to the text, but the text is suddenly placed beneath the table: Before  After (Only in the 5.4.0 version).
Stanimir
Telerik team
 answered on 30 May 2009
7 answers
158 views
Hi,

We are using the telerik rad editor for MOSS version 5.3.2

We have the following problem. When we want to upload a document with the document manager, we click the document manager, then the library we want to upload the document in, we click browse, browse to the file, click ok and click upload. Now we get an error page:
Error
However the document is uploaded to the library.

We also found out the problem, the logged in user does not have approval rights on the document library where the document is uploaded in. The document library as the setting "require content approval for submitted items" checked as yes. So Documents uploaded to this library need to be approved.

When we do the same with the administrator account, the problem does not occur, the administrator as approval rights, and we see that the document is upload and also automatically approved.

When we set the "require content approval for submitted items" and we log in as the user that does not have approval rights, and we upload a document again, we don't get the error.

So the problem is, when "require content approval for submitted items"  on a library is checked to "yes" the document manager automatically wants to approve the documents that are uploaded, but when you're logged in as a user that does not have approval rights the error page occurs.

Do you have a solution for it?



Stanimir
Telerik team
 answered on 30 May 2009
1 answer
94 views

Hi everyone,

We have a small UI issue with the RadSplitter.  The set up consists of two Rad Panes, left and right, the left pane containing a RadSlidingZone and a RadSlidingPane.  By default, the left pane is pinned, but after unpinning the pane, hovering over the sliding zone tab once does not cause the pane to slide out.  Moving the cursor off of the tab and back onto the tab a second time causes the pane to fly out and any subsequent pin/unpin works as intended.

Obviously, this behavior is unintended, and though simple, can be frustrating for users.

Thanks a lot for the help,

Adam.g
Svetlina Anati
Telerik team
 answered on 30 May 2009
1 answer
114 views
Is it possible to display the expand/collaspe command buttons on the left side of the title bar instead of the right?
Petio Petkov
Telerik team
 answered on 30 May 2009
1 answer
355 views
We have a RadGrid that is holding over 100k entries and we are wanting to export the data to an Excel document.  However, we are getting terrible performance when trying to export.  The data is all in the Grid, we are not using an Skip/Take or anything like this.  When we excecute this line, RadGrid1.MasterTableView.ExportToExcel() it goes right through it, but then it eventually encounters a JScript error?  There are approximately 15 columns and 100k rows.  Sometimes it works, but it takes up to 4 minutes or so.  Is there anything we can do to improve on this?


Thank you!

Kyle
Daniel
Telerik team
 answered on 30 May 2009
1 answer
98 views
Hello,
I'm using the Telerik RadGrid control and I'd like to add a table row between the header and the items in the grid.

I drew a rudimentary ASCII art picture of what I'd like:
________________________
|_______|_________|_______|
|________________________|
|_______|_________|_______|

I searched previous threads and the existing documentation for a way to do this but came back empty-handed.

The markup that I'm looking to insert in that middle row is a little bit complicated, so I'm trying to figure a solution that doesn't involve writing out elements in JavaScript or anything like that.

Thanks in advance for any help, I hope I articulated myself clearly enough to explain what I'm looking for!

-Ian
Iana Tsolova
Telerik team
 answered on 30 May 2009
3 answers
333 views
I wanted to know if there is a way I can add validation elements/settings to the RadInputManager dynamically for a situation where all validation criteria is stored in a database. 

For example: Imagine you have a form that is dynamically generated from database data and the number of input fields to validate and their names are not fixed/known ahead of time.  Fields are dynamically loaded from the database and they are named vaules like txtControl12.


        'Create an instance of the RadInputManager  
        Dim controlvalidation As New RadInputManager  
        controlvalidation.ID = "RadInputManager1" 
 
        'Add various settings and specific controls to validate within those settings  
        'E.g. There is one field in the form that should be an e-mail address, 1 field that  
        'has a validation date range, another field that has a different validation date  
        'range.  
 

In the example above there are 2 different date validations for two date input fields and 1 e-mail address.  I am looking for a way to programatically create the VB.NET/C# equal to the following, but am having trouble figuring out how to add something like a new DateInputSetting for RadInputManager 1 that applies to control X and a RegExpTextBoxSetting that applies to a different set of controls (it could apply to one or more).
<telerik:RadInputManager ID="RadInputManager1" runat="server">     
        <telerik:DateInputSetting MinDate="1/1/1980" MaxDate="1/1/2020">     
            <ClientEvents OnError="onClientDateTxtError" OnKeyPress="onClientTextChanged" />    
            <TargetControls>    
                <telerik:TargetInput ControlID="txtControl1" />    
            </TargetControls>    
        </telerik:DateInputSetting>   
        <telerik:DateInputSetting MinDate="1/1/2009" MaxDate="1/1/2030">     
            <ClientEvents OnError="onClientDateTxtError" OnKeyPress="onClientTextChanged" />    
            <TargetControls>    
                <telerik:TargetInput ControlID="txtControl2" />    
            </TargetControls>    
        </telerik:DateInputSetting>   
   
        <telerik:RegExpTextBoxSetting IsRequiredFields="true" ValidationExpression="^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$">     
            <ClientEvents OnError="onClientRegTxtError" OnKeyPress="onClientTextChanged" />    
            <TargetControls>    
                <telerik:TargetInput ControlID="txtControl3" />    
            </TargetControls>    
        </telerik:RegExpTextBoxSetting>    
    </telerik:RadInputManager>    
 


Any help would be appreciated.  Thank you.
Dimo
Telerik team
 answered on 30 May 2009
2 answers
130 views
When filtering by column and using AutoPostBackOnFilter="true" after the postback the filter box is no longer selected, it lost focus. What's worse is that FilterDelay doesn't seem to do anything, or at least not what I would expect it to do, so after each character the client types a postback occurs and the focus to the filter box is lost. If it would at least wait for the client to stop typing and only after FilterDelay millisecond to do the postback it would be somewhat OK. The way it works now it's completely useless. Am I missing something? Thanks.

P.S. I'm using the Jan14 version.
Tsvetoslav
Telerik team
 answered on 30 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?