This is a migrated thread and some comments may be shown as answers.

[Solved] Use of RadEditor causing "Unspecified Error" to AutoCompleteExtender controls

4 Answers 189 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Arthur
Top achievements
Rank 2
Arthur asked on 28 Jan 2009, 02:15 PM

Hello,

 

We are currently using an AutoCompleteExtender and a RadEditor in our page. Unfortunately, whenever we put in the RadEditor, the AutoCompleteExtender

throws an error everytime the user selects an option within its drop down list (using a single mouse click). When we remove the RadEditor from the page, users are again able

to select an option from the autocompleteextender dropdown list without any errors. When we tried debugging the error we get an 'Unspecified Error'

that can be traced to a certain getClientRects function. Would you have any ideas why the RadEditor appears to cause an error on the

AutoCompleteExtender? Are there any problems that may result from using AjaxToolkit AutoCompleteExtender and your RadEditor?

 

<telerik:RadAjaxPanel runat="server" id="rpnlProfileIntroduction"
    <table style="width: 750px" cellpadding="0" cellspacing="0" onmouseover="ShowEditButtonProfileIntroduction(true)" onmouseout="ShowEditButtonProfileIntroduction(false)"
        <tr id="trEditProfileIntroduction" runat="server"
            <td style="width: 250px;" valign="top"
                <table cellspacing="1" cellpadding="0" width="350">        
                    <tr> 
                        <td class="ms-ppPropertyLabel" style="width: 120px"
                            Current Client: 
                        </td> 
                        <td valign="top" class="ms-ppRedirectLinks" > 
                            <asp:TextBox ID="txtCurrentClient" runat="server" width="200px"></asp:TextBox> 
                            <ajaxToolkit:AutoCompleteExtender 
                                runat="server" 
                                ID="autoCompleteCurrentClient" 
                                TargetControlID="txtCurrentClient"          
                                ServiceMethod="GetCompletionList" 
                                MinimumPrefixLength="1" 
                                CompletionInterval="1000" 
                                EnableCaching="False" 
                                CompletionSetCount="10" 
                                UseContextKey="True" 
                                ContextKey="CurrentClient" 
                                DelimiterCharacters=" " 
                            /> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td align="left" class="ms-ppErrorTextDescription" colspan="3" valign="top"
                            <asp:RegularExpressionValidator ID="regCurrectClient" ControlToValidate = "txtCurrentClient" runat="server" ErrorMessage="Semicolon (;) is not a valid character." ValidationExpression="[^;]*" Display="Dynamic"></asp:RegularExpressionValidator> 
                        </td> 
                    </tr> 
                </table> 
            </td>        
            <td valign="top"
                <table cellpadding="0" width="400" style="word-wrap:break-word"
                    <tr> 
                        <td style="width:400px; height: 19px;" class="ms-ppPropertyText" id="tdProfessionalBio"
                            <telerik:RadEditor ID="radEditProfessionalBio" runat="server" Width="400px" EditModes="Design" Skin="Hay" Height="200px"
                                <Tools> 
                                    <telerik:EditorToolGroup> 
                                        <telerik:EditorTool Name="Cut" /> 
                                        <telerik:EditorTool Name="Copy" /> 
                                        <telerik:EditorTool Name="Paste" /> 
                                        <telerik:EditorTool Name="Undo" /> 
                                        <telerik:EditorTool Name="Redo" /> 
                                        <telerik:EditorTool Name="FormatStripper" /> 
                                        <telerik:EditorTool Name="InsertTable" /> 
                                        <telerik:EditorTool Name="ToggleTableBorder" /> 
                                        <telerik:EditorTool Name="LinkManager" /> 
                                        <telerik:EditorTool Name="Unlink" /> 
                                        <telerik:EditorTool Name="InsertSymbol" />  
                                    </telerik:EditorToolGroup> 
                                </Tools> 
                            </telerik:RadEditor> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td align="left" class="ms-ppErrorTextDescription" colspan="3" valign="top">                                                                 
                            <asp:RegularExpressionValidator ID="RegExrProfessionalBio" ControlToValidate = "radEditProfessionalBio" runat="server" ErrorMessage="The bio is too long to fit on My Page.  Please edit your bio." ValidationExpression="[\s\S]{0,3600}" Display="Dynamic"></asp:RegularExpressionValidator> 
                        </td> 
                    </tr> 
                </table> 
            </td> 
        </tr> 
    <table> 
</telerik:radajaxpanel> 

 

Hoping for your immediate response.

 

Thanks.

Arthur

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Feb 2009, 10:15 AM
Hi Arthur,

I am not aware of any problems that apply to RadEditor used on a page with an autoCompleteExtender control.

I tried to reproduce the problem by testing the provided code but unfortunately to no avail. For your convenience I have attached my test project as well as a video demonstrating my test. What am I missing?

Could you please, modify the project to demonstrate the error and send it back by opening a support ticket? Thank you for your cooperation.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Albert
Top achievements
Rank 1
answered on 14 Jun 2009, 03:01 PM
Hello there,
I experience the same problem on IE7 Windows Vista and IE6 Windows XP.
When RadEditor is on the same page with  AutoCompleteExtender we get Unspecified Error
0
Rumen
Telerik team
answered on 17 Jun 2009, 01:58 PM
Hello Albert,

Are you able to reproduce the problem using the attached to my earlier reply project? I tested it on IE6 Windows XP and I was unable to reproduce the issue.

Could you please modify the project so that it demonstrates the error and send it to us using the attachment functionality of the support ticketing system?

All the best,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Albert
Top achievements
Rank 1
answered on 17 Jun 2009, 02:05 PM
Hello,
Thanks for reply.
The problem was in version Q3 2008, after update to Q1 2009 the problem disappeared.


Tags
Editor
Asked by
Arthur
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Albert
Top achievements
Rank 1
Share this question
or