Changing colour of text/background of .txt files in file explorer

6 posts, 0 answers
  1. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 11 Sep 2009 Link to this post

    I have setup the file explorer control on my site but the actual .txt files constantly appear as a black background with black text thus not visible (I know there is text as I can see it when I highlight it blindly).

    The url is http://www.theplaygrounds.co.uk/Samples.aspx. Any idea where the problem lies?

    Also, how can I increase the size of the popup dialog which appears after double clicking a file?

    Thanks
  2. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 16 Sep 2009 Link to this post

    Hi G S S,

    about black on black - I gave the page a try - looks OK for me in IE8.
    But with IE and Safari I get Black on Black like you say.
    It seem's as IF doesn't take this style down to the Ifarme (popup) while other browsers do.
    Anyhow - the "bad style" is
    .RadWindow_Black td.rwWindowContent
    which set's a background color of #080808
    Try to override this style (I'm not sure if it's used elsewhere.

    So
    .RadWindow_Black td.rwWindowContent
    {
    background-color: #ffffff;
    }
    should fix the problem.

    Regards
    Manfred
    PS: if this post was helpful please use "Mark as answer"
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 27 Sep 2009 Link to this post

    Where is the CSS to set that style?

    Thanks
  5. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 28 Sep 2009 Link to this post

    Hi,

    telerik Rad AJAX styles are normally brought to you via resources.
    But since it is CSS you can simply override it by adding the snippet I posted before
    to you page.

    Or if you need to do more customization take a look at http://www.telerik.com/products/visual-style-builder.aspx

    Regards
    Manfred
  6. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 12 Oct 2009 Link to this post

    Hi,

    I couldn't get the CSS to work. Could you provide an example of how to solve this issue?

    BTW, Telerik's demo of this control has the same issue.
  7. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 16 Oct 2009 Link to this post

    Hello G S S,

    We are aware of such a behavior and we have already logged it in our ToDo list. Indeed, for the time being the solution is to add the style suggested by Manfred earlier in this thread. For your convenience I have implemented the solution in a simple project and attached it to the thread.

    I hope this helps.

    Best wishes,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017