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

Unable to Change Color Of Header

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Drake
Top achievements
Rank 1
Drake asked on 08 Sep 2016, 06:38 PM
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!

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 13 Sep 2016, 09:39 AM
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
Tags
General Discussions
Asked by
Drake
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or