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

Error: While Saving and moving the scroll bar

9 Answers 116 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Brent
Top achievements
Rank 1
Brent asked on 13 Nov 2008, 07:03 PM
I just upgraded my Rad Controls for ASPNet AJAX to Q3 2008 and during testing I noticed a weird bug.  If I move the scroll bar on the rad editor control after pressing the save button, which saves to a sql database,  I get the following error: "Line 7567  Error: Could not complete the operation due to error 800a025e".  I debuged the error and it was thrown out of the ScriptResource.axd file.  Even though the page errors, the rad editor data is still saved to the database.

Below is my ASPX Code

 

<

asp:UpdatePanel  

runat="server" UpdateMode="Conditional" ID="UpdatePanelED">

 

 

 

<contenttemplate>

 

 

 

<telerik:RadEditor id="RadEditorED" Width="100%" Runat="server" Skin="Outlook">

 

 <Content>

 

 

</Content>

 

 

 

</telerik:RadEditor>

 

 

 

<BR />

 

 

 

<CENTER><asp:Button id="btnSaveED" onclick="btnSaveED_Click" runat="Server" CssClass="Normal" Text="Save Extended Detail"></asp:Button></CENTER>

 

 

 

</contenttemplate>

 

 

 

<Triggers><asp:AsyncPostBackTrigger ControlID="lstReportsED"></asp:AsyncPostBackTrigger></Triggers>

 

 

 

</asp:UpdatePanel>

 

 

 

 

 


Bloew is my C# save button code.

protected

void btnSaveED_Click(object sender, EventArgs e)

{

 

ICAdminWebService_V2_2_Long.updateExtendedDetail(Convert.ToInt32(lstReportsED.SelectedValue), RadEditorED.Content);

 

 

 }

 

 

9 Answers, 1 is accepted

Sort by
0
Nikolay Raykov
Telerik team
answered on 17 Nov 2008, 01:54 PM
Hi Brent,

I tried to reproduce the problem but unfortunately to no avail. I attached a video capture to show you what I did to reproduce it and a picture of the aspx page code. If there is something I am missing or doing wrong, please let me know.

Sincerely yours,
Nikolay Raykov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Brent
Top achievements
Rank 1
answered on 17 Nov 2008, 02:57 PM
Nikolay Raykov,

I didn't post my complete code files.  I only posted the sections that I thought were causing the error.  Is there anyway that I can send you my whole aspx and c# files.  I also noticed that it's not just when the scroll bar is moved.  The bug is also thrown when I click the save button, and the content area is clicked.  This is a very consistent bug. 

Below is the section of code from the scriptresource.axd file where the bug is thrown.

Type.prototype.callBaseMethod = function Type$callBaseMethod(instance, name, baseArguments) {

/// <param name="instance"></param>

/// <param name="name" type="String"></param>

/// <param name="baseArguments" type="Array" optional="true" mayBeNull="true" elementMayBeNull="true"></param>

/// <returns></returns>

var e = Function._validateParams(arguments, [

{name: "instance"},

{name: "name", type: String},

{name: "baseArguments", type: Array, mayBeNull: true, optional: true, elementMayBeNull: true}

]);

if (e) throw e;

var baseMethod = this.getBaseMethod(instance, name);

if (!baseMethod) throw Error.invalidOperation(String.format(Sys.Res.methodNotFound, name));

if (!baseArguments) {

return baseMethod.apply(instance);

}

else {

return baseMethod.apply(instance, baseArguments);

}

}


I've bolded the link of code that has the error.






0
Nikolay Raykov
Telerik team
answered on 17 Nov 2008, 04:37 PM
Hello Brent,

You can open a support ticket to send us a sample project and describe in details the steps to reproduce the problem.

Greetings,
Nikolay Raykov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Brent
Top achievements
Rank 1
answered on 18 Nov 2008, 01:47 PM
I just submitted a support ticket.  Thanks for your help.
0
Accepted
Nikolay Raykov
Telerik team
answered on 21 Nov 2008, 01:28 PM
Hello Brent,

I have already answered your support ticket. For your convenience I am pasted my reply below:

You can put the RadEditor inside a RadAjaxPanel instead of UpdatePanel. I made some tests and this error does not occur anymore. Here you can find more information about the RadAjaxPanel:

http://www.telerik.com/help/aspnet-ajax-futures/ajxajaxpanel.html

I hope this will help you resolve your problem.


Best wishes,
Nikolay Raykov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Brent
Top achievements
Rank 1
answered on 21 Nov 2008, 02:05 PM
I changed my code to use the RadAjaxManager instead of an update panel and the bug went away.  Thanks for all of your help.
0
Nikolay Raykov
Telerik team
answered on 24 Nov 2008, 04:12 PM
Hi Brent,

I am glad that you have managed to fix this problem!

Greetings,
Nikolay Raykov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Gagan Garg
Top achievements
Rank 1
answered on 18 Mar 2010, 03:45 PM
Hi All,
 

I am also facing sampe problem in my code. I am using tha Rad Editor inside the update panel and i have the constraint that i did't replece the update panel to Rad Ajax Manager. I am using the IE 7

Please do needfull.

Is there any way to fix this problem for IE7.

I am looking forward your Quick Response???????????????????????
0
Rumen
Telerik team
answered on 23 Mar 2010, 12:53 PM
Hi Gagan,

The 800a025e error is fixed in the latest version of RadEditor (Q1 2010 - version 2010.1.309) and I strongly recommend that you upgrade to it in order to fix the problem.

If you are unable to upgrade (which is the recommended approach for fixing this IE7 problem) you can see the setFocus solution provided in this forum thread: RadEditor setFocus problem.

Sincerely yours,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
Brent
Top achievements
Rank 1
Answers by
Nikolay Raykov
Telerik team
Brent
Top achievements
Rank 1
Gagan Garg
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or