Hi.
We have an issue with the RadEditor causing an entire Ajax update panel to fail on an async postback.
This only happens if the RadEditor has been generated dynamically, if it is put in at design time for example on a user control. However our existing code base is heavily reliant on the editor being created dynamically.
We have tested this on most browsers and only seems to be an issue on Safari V14 and Safari V15. We have also tested using various versions of the Telerik controls including the Jan 2022 release. IMO It’s likely that the problem has come about because of a change to Safari, rather than a change to the RadEditor.
I have recreated this using a standard webforms app template in VB in visual studio 2019 , targeting framework 4.7
This can be created using a very simple form.
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div>
<asp:Label ID="Label2" runat="server" Text="Outside The Panel"></asp:Label>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional">
<ContentTemplate>
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
<asp:Label ID="Label1" runat="server" Text="Inside the Panel"></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Button2"/>
</Triggers>
</asp:UpdatePanel>
<asp:Button ID="Button1" runat="server" Text="Sync"/>
<asp:Button ID="Button2" runat="server" Text="ASync"/>
</div>
</form>
with a very simple code behind and running in a version of Safari 14 +
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim radEditor = New Telerik.Web.UI.RadEditor
radEditor.ID = "Editor2"
RadEditor.Enabled = True
PlaceHolder1.Controls.Add(RadEditor)
End Sub
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Label1.Text = "Updated Label 1 (sync)"
Label2.Text = "Updated label 2 (sync)"
End Sub
Protected Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Label1.Text = "Updated Label 1 (async)"
Label2.Text = "Updated label 2 (async)"
End Sub