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

[Solved] Editor doesn't function after partial postback on Firefox

1 Answer 91 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Lior Shorshi
Top achievements
Rank 1
Lior Shorshi asked on 30 Jul 2009, 03:09 PM
Hello,

I am using a RadEditor control which loads for the first time as a result of a partial postback.
When I'm using Firefox (3.5.1), the button causes the Editor to render with the text area locked for editing, and sometimes the text area is also much smaller then expected.

Here is the source code of an ASPX and ASCX file which reproduces the problem:

RadEditorAjax.aspx:

<%

@ Page Language="C#" AutoEventWireup="true" %>

 

<%

@ Register TagPrefix="uc" TagName="radAjax" Src="radAjax.ascx" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

 

<!

 

DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml" >

 

<

 

head runat="server">

 

 

<title></title>

 

<

 

script runat=server>

 

 

protected void btn1_Click(object sender, EventArgs e)

 

{

ucradAjax.Visible =

true;

 

}

</

 

script>

 

</

 

head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

 

<telerik:RadScriptManager ID="TheScriptManager" EnablePartialRendering="true" AsyncPostBackTimeout="3600" runat="server" >

 

 

<Services>

 

 

<asp:ServiceReference Path="UserSession.asmx" />

 

 

</Services>

 

 

</telerik:RadScriptManager>

 

 

 

<telerik:RadAjaxPanel ID=upMain runat=server RenderMode=Inline UpdateMode=Conditional>

 

 

<ContentTemplate>

 

 

 

<uc:radAjax ID=ucradAjax runat=server Visible=false />

 

 

<asp:Button ID="btn1" runat=server OnClick="btn1_Click" />

 

 

 

</ContentTemplate>

 

 

</telerik:RadAjaxPanel>

 

 

 

 

</form>

 

</

 

body>

 

</

 

html>

 


radAjax.ascx:

<%

@ Control Language="C#" AutoEventWireup="true" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<

 

telerik:RadAjaxManagerProxy ID="AjaxManagerProxy1" runat="server"></telerik:RadAjaxManagerProxy>

 

 

<telerik:RadEditor ID="rdeProctPolicy" Runat="server"

 

 

Width="800px" Height="400px"

 

 

DialogsScheme="Default"

 

 

ToolsOnPage="True"

 

 

Language="en-US"

 

 

ShowHtmlMode="True"

 

 

SaveInFile="True"

 

 

SaveAsXhtml="True"

 

 

DocumentsPaths="~/Docs, ~/Marketing"

 

 

StripAbsoluteImagesPaths="True"

 

 

CausesValidation="True" />

 


Thanks for your help,
Lior

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Jul 2009, 12:34 PM
Hi Lior,

Please, upgrade to the latest Q2 2009 (version 2009.2.701) release of RadControls for ASP.NET AJAX where both problems are fixed.

If you still experience any problems, please open a support ticket and send a sample working project that demonstrates them. I will examine it and once I am able to reproduce them I will do my best to provide a solution.

Kind regards,
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.
Tags
Editor
Asked by
Lior Shorshi
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or