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

RadEditor Flashes White background When Submit Button Clicked

3 Answers 55 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 2
Andy asked on 30 Jun 2011, 11:31 PM
I have read several posts on related problems, but I could not find a solution to this particular problem.
RadEditor sets the background for the control properly based on the RadSkin=Black setting in web.config.

However, when I click my Submit button to save the contents of the area and a separate TextBox, the background color in the RadEditor changes to white momentarily and then returns to the body color from the page.  I want to prevent the white flashing.

Any help would be greatly appreciated.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Jul 2011, 11:22 AM
Hi Andy,

My suggestion is to set the CssFiles property to point to a CSS file which contains a global body class with background-color: xxxxx;

The xxxxx color should represent the background color that you want to display in the content area when submitting the page. You can see these articles for more information:
http://www.telerik.com/help/aspnet-ajax/editor-setting-content-area-defaults.html
and
http://www.telerik.com/help/aspnet-ajax/editor-setting-editor-background-and-color.html

If this does not help, please, open a support ticket and send a sample working project that demonstrates the reported issue.

Regards,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Andy
Top achievements
Rank 2
answered on 05 Jul 2011, 10:57 PM
Rumen,

Thanks for the response.  Sorry I could not get back to you sooner,
I tried the CSS file method and was able to control the background color through the use of either the background color or the background image.  That works great.  The problem is that when I click the submit button on the page the background color of the textarea flashes white for a moment and then is set back to the proper color.

I am using VS Studio 2010 and FireFox for my tests.

At one point or another I have had a RadAjaxManager on the page or an asp:UpdatePanel or nothing related to AJAX.  Nothing seems to fix the problem.

Any further guidance would be greatly appreciated.

Thanks.

0
Rumen
Telerik team
answered on 06 Jul 2011, 04:46 PM
Hello Andy,

Could you please isolate the flashing problem in a simple working project and send it via the support ticketing so that I can reproduce it? If the problem is reproducible in the live demos you can also send me a link.

Best regards,
Rumen
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

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