Unable to Change Color Of Header

2 posts, 0 answers
  1. Drake
    Drake avatar
    1 posts
    Member since:
    Jul 2016

    Posted 08 Sep Link to this post

    I am attempting to dynamically change the header color based on my JSON file. I am reading information from a JSON file so that I can create multiple almost identical views with the exception of colors, and information. I have successfully read all of the information, and everything works properly besides when I try to dynamically change the header color for each view I am creating. I am writing the value to a hidden input box with data bind and reading it with javascript to write back to the style css. When reading the input color property javascript returns undefined. Thanks for the help!
  2. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 13 Sep Link to this post

    Hi Drake,

    If I understand correctly, what doesn't work on your side is reading the value from the hidden input and not the actual logic that changes the header color. If this is the case, I would need to see your code in order to make a guess at what might be wrong. It would be even better if you can create a Dojo that reproduces the issue and post it here. With a runnable sample I will be able to tell you exactly what fails.

    Regards,
    Tsvetina
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top