RadEditor Flashes White background When Submit Button Clicked

4 posts, 0 answers
  1. Andy
    Andy avatar
    18 posts
    Member since:
    Apr 2011

    Posted 30 Jun 2011 Link to this post

    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.
  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 05 Jul 2011 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Andy
    Andy avatar
    18 posts
    Member since:
    Apr 2011

    Posted 05 Jul 2011 Link to this post

    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.

  5. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 06 Jul 2011 Link to this post

    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!

Back to Top