Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I gave a color to the value in the TextBox as shown below.

txtFirstName.ForeColor = System.Drawing.Color.Yellow;

When run the code through my local code, I can see the color in the UI.
But when I deploy the same code, I am not able to see the color....
What might be the problem...?
can any one help me..?
Posted
Comments
Joan Magnet 26-Mar-15 8:16am    
It's a link?
[no name] 26-Mar-15 9:53am    
No, It's not a link Joan.
It is a Text Box
Joan Magnet 26-Mar-15 9:57am    
Are you using a ccs file?

Be sure you're copying it to the server machine.
[no name] 26-Mar-15 10:07am    
No. It is written in .cs and the it is a web application.

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