Click here to Skip to main content
15,884,648 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,

We have one daily report in HTML format. I need to change a textbox color if a certain condition satisfied. e.g. in report if status is "COMPLETED WITH WARNINGS" then textbox color change to GREEN, if not then change to RED.
PFA reports for example.

Regards,
Vishal.
Posted

1 solution

And the issue is?

It's an HTML report, so you have JavaScript world to raise events and act on them.
Steps:
1. Based on the event, raise the JS method
2. If certain condition is met, change the style of the textbox.

Try out. You may find that it's not that hard.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900