ForeColor in Q12013

10 posts, 1 answers
  1. Andrew Dorfman
    Andrew Dorfman avatar
    6 posts
    Member since:
    Sep 2008

    Posted 05 Mar 2013 Link to this post

    I upgraded a project to Q12013 and the first thing I noticed is my RadTreeView nodes are now displaying in blue where before they were black.  I can iterate through all nodes and change them to black but is there anywhere to set this globally?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 06 Mar 2013 Link to this post

    Hello,

    I am not able to replicate your issue at my end. You can try the following CSS to change the node ForeColor to black.

    CSS:
    <style type="text/css">
        .RadTreeView_Default, .RadTreeView_Default a.rtIn, .RadTreeView_Default .rtEdit .rtIn input
        {
            color: Black !important
        }
    </style>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Andrew Dorfman
    Andrew Dorfman avatar
    6 posts
    Member since:
    Sep 2008

    Posted 06 Mar 2013 Link to this post

    This did not work.  I can't understand it either.  All I did was upgrade to the Q12013 release and the colors changed.

    See attached for before and after screenshots

  5. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 08 Mar 2013 Link to this post

    Hello Andrew,

    Can you please clarify which is the skin that you are using with the RadTreeView control? Can you also replicate the same appearance with this on-line demo?

    Greetings,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Mike
    Mike avatar
    32 posts
    Member since:
    Mar 2012

    Posted 09 Apr 2013 Link to this post

    I can confirm this as well.  In my case my nodes have hrefs set and it appears they are now being styled as standard site anchors. I'm using the WebBlue theme. 
  7. Andrew Dorfman
    Andrew Dorfman avatar
    6 posts
    Member since:
    Sep 2008

    Posted 09 Apr 2013 Link to this post

    This is the same exact behavior I'm seeing. I still haven't resolved it.
  8. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 12 Apr 2013 Link to this post

    Hi Andrew,

    We are already aware of this appearance of the RadTreeView control and we are working on resolving it. Meanwhile I would suggest that use the following workaround:
    div.RadTreeView .rtIn {
               color: inherit;
           }

    Regards,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  9. Andrew Dorfman
    Andrew Dorfman avatar
    6 posts
    Member since:
    Sep 2008

    Posted 12 Apr 2013 Link to this post

    Kate,

    I'm not sure exactly how to apply this workaround. Nothing you are suggesting seems to work for me.  All I know is my tree displays perfectly fine with the previous version if I update the DLLs to the latest then the nodes are displaying as hyperlinks (as mentioned above).  What is the ETA for having this fixed?  At this point I cannot upgrade to the latest version of the components.

    Andrew Dorfman
  10. Answer
    Kate
    Admin
    Kate avatar
    1898 posts

    Posted 16 Apr 2013 Link to this post

    Hello Andrew,

    I understand that the issue that you have is indeed very frustrating. I did test it locally with the code that I suggested and it work as expected from my side. Here I attach my simplified runnable page that you can test and check how it goes. Can you please modify it in a way that demonstrates the issue that you have and send it back to me so I can inspect it and help you out?

    Kind regards,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  11. Andrew Dorfman
    Andrew Dorfman avatar
    6 posts
    Member since:
    Sep 2008

    Posted 16 Apr 2013 Link to this post

    Thank you Kate.  Using the example I was able to get to the bottom of the issue and apply the workaround.  All is good now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017