Nate Pinchot
Top achievements
Rank 1
Nate Pinchot
asked on 27 Oct 2008, 10:15 PM
After an ajax postback which sets the Content to "" and adjusts other elements on the page, the RadEditor becomes unusable until I click the HTML or Preview button and then click the Edit button again. What can I do to fix this problem?
4 Answers, 1 is accepted
0
Hello Nate,
Could you please, review the following help article which could be helpful for your scenario: RadEditor Content Not Saved After Ajax Update in Firefox?
If the problem still persists, please register the external skins of the control and try again to reproduce the problem.
If you still experience this issue, open a support ticket and send a sample runnable project that demonstrates the problem.
All the best,
Rumen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Could you please, review the following help article which could be helpful for your scenario: RadEditor Content Not Saved After Ajax Update in Firefox?
If the problem still persists, please register the external skins of the control and try again to reproduce the problem.
If you still experience this issue, open a support ticket and send a sample runnable project that demonstrates the problem.
All the best,
Rumen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nate Pinchot
Top achievements
Rank 1
answered on 30 Oct 2008, 05:55 PM
Hi Rumen,
Thanks for the advice but unforunately that did not help. You are correct that the issue only exists in Firefox. However, when I use that article to against a LinkButton it breaks all functionality of the button.
I need a solution that will work with either a button element, a standard link element (the "a" tag), or a LinkButton.
I will submit a support ticket.
Thanks for the advice but unforunately that did not help. You are correct that the issue only exists in Firefox. However, when I use that article to against a LinkButton it breaks all functionality of the button.
I need a solution that will work with either a button element, a standard link element (the "a" tag), or a LinkButton.
I will submit a support ticket.
0
Nate Pinchot
Top achievements
Rank 1
answered on 31 Oct 2008, 02:41 AM
For anybody currently experiencing this problem, I have found that calling set_mode on the RadEditor in the ResponseEnd event of the RadAjaxManager resolves this problem.
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
<script type="text/javascript"> |
function RadAjaxManager1_ResponseEnd() { |
var radEditor = $find('<%= RadEditor1.ClientID %>'); |
radEditor.set_mode(1); |
} |
</script> |
</telerik:RadCodeBlock> |
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1"> |
<ClientEvents OnResponseEnd="RadAjaxManager1_ResponseEnd();" /> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="LinkButton1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="Label1" /> |
<telerik:AjaxUpdatedControl ControlID="RadEditor1" /> |
<telerik:AjaxUpdatedControl ControlID="RadAjaxManager1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
<telerik:RadEditor ID="RadEditor1" runat="server" Skin="Vista" Width="100%" Height="400px" EnableResize="false"> |
</telerik:RadEditor> |
<br /> |
<br /> |
<asp:Label ID="Label1" runat="server"></asp:Label><br /> |
<br /> |
<br /> |
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">LinkButton1</asp:LinkButton><br /> |
<br /> |
0
Hi Nate,
I am glad that you have fixed the problem on your side.
I tested the provided project but I was not able to reproduce the problem in Firefox 3.0.3. For your convenience I have attached here a video demonstrating my test.
I noticed however that you are not using the latest build of Telerik.Web.UI.dll, which could be the reason for the problem. I updated your project with the latest Q3 Futures build of RadControls for ASP.NET AJAX and attached it here. Could you please, test the project without setting the set_mode method and see whether the problem still persists on your side?
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.
I am glad that you have fixed the problem on your side.
I tested the provided project but I was not able to reproduce the problem in Firefox 3.0.3. For your convenience I have attached here a video demonstrating my test.
I noticed however that you are not using the latest build of Telerik.Web.UI.dll, which could be the reason for the problem. I updated your project with the latest Q3 Futures build of RadControls for ASP.NET AJAX and attached it here. Could you please, test the project without setting the set_mode method and see whether the problem still persists on your side?
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.